Beispiel #1
0
 public void setWifiBand(SumoEnumGenerated.WifiSelection_band band)
 {
     sender.Send(SumoCommandsGenerated.NetworkSettings_WifiSelection_cmd(SumoEnumGenerated.WifiSelection_type.auto, band, 0));
 }
Beispiel #2
0
 /// <summary>
 /// NetworkSettings_WifiSelection
 ///
 /// Auto-select channel of choosen band
 ///
 ///
 /// args : enum enum u8
 /// </summary>
 public static byte[] NetworkSettings_WifiSelection_cmd(SumoEnumGenerated.WifiSelection_type type, SumoEnumGenerated.WifiSelection_band band, byte channel)
 {
     return(StructConverter.Pack("<BBHIIB", 3, 8, 0, (UInt16)type, (UInt16)band, channel));
 }