Größe: 12470
Kommentar: adding 'c' command
|
Größe: 13296
Kommentar: The page en/SerialProtocol contains the same information, and more. Thus, I'm "forwarding" to that page. Hope this is ok.
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 1: | Zeile 1: |
= Common Commands = | See [[en/SerialProtocol]] /* The page en/SerialProtocol contains the same information, and more. == Common Commands == |
Zeile 6: | Zeile 12: |
||Request display lines || 'h' ||!AnyAddr || u8 !RemoteKey ||'H' ||!SlaveAddr ||u8 !DisplayLine, char[20] !DisplayLine Text || | ||Request display || 'h' ||!AnyAddr || u8 ~!RemoteKey, u8 !AutoSendInterval ||'H' ||!SlaveAddr || char[80] !DisplayText || |
Zeile 9: | Zeile 15: |
||!ExternControl Request ||'g' ||!AnyAddr || none ||'G' ||!SlaveAddr ||!ExternControl Struct || | |
Zeile 12: | Zeile 17: |
= Flight-Ctrl = | ||Get External Control ||'g' ||!AnyAddr ||none ||'G' ||!SlaveAddr ||!ExternControl Strcut || == Flight-Ctrl == |
Zeile 15: | Zeile 22: |
|| Compass Heading ||'K' || FC-Addr || s16 Compass Value ||'w' || MK3MAG-Addr ||Nick Roll Attitude ... ||0.71f || | || Compass Heading ||'K' || FC-Addr || s16 Compass Value ||'k' || MK3MAG-Addr ||Nick Roll Attitude ... ||0.71f || |
Zeile 17: | Zeile 24: |
|| Settings Request ||'q' ||FC-Addr || u8 Settings Index ( 1..5 or 0xff for actual setting) ||'Q' ||FC-Addr ||u8 Settings Index, u8 Settings Version, Settings Struct ||0.71f || || Write Settings || 's' ||FC-Addr || u8 Settins Index, u8 Settings Version, Settings Struct ||'S' ||FC-Addr ||u8 Settings Index (1 ..5, 0=Error) ||0.71f || |
|| Settings Request ||'q' ||FC-Addr || u8 Settings Index ( 1..5 READ or 0xff for actual setting) <<BR>> u8 Settings Index (11..15 RESET setting to default (channel mapping will not be changed))<<BR>> u8 Settings Index (21..25 RESET setting to default (complete reset including channel settings))||'Q' ||FC-Addr ||u8 Settings Index, u8 Settings Version, Settings Struct ||0.71f || || Write Settings || 's' ||FC-Addr || u8 Settings Index, u8 Settings Version, Settings Struct ||'S' ||FC-Addr ||u8 Settings Index (1 ..5, 0=Error) ||0.71f || |
Zeile 23: | Zeile 30: |
= Navi-Ctrl = | || Change setting ||'f' ||FC-Addr || u8 Number of new Setting ||'F' ||FC-Addr || u8 Number ||0.77 || || Serial Poti ||'y' ||FC-Addr || s8 Poti[12] ||- ||- || - ||0.77 || || BL parameter request ||'u' ||FC-Addr || u8 BL_Addr ||'U' ||FC-Addr || u8 Status1, u8 Status2, u8 BL_Addr, BLConfig Struct ||0.80 || || BL parameter write ||'w' ||FC-Addr || u8 BL_Addr, BLConfig Struct ||'W' ||FC-Addr || u8Status1, u8 Status2 ||0.80 || == Navi-Ctrl == |
Zeile 28: | Zeile 40: |
||<style="text-align: center;"> Send target Position ||<style="text-align: center;">'s' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;"> [:en/WayPointStruct:WayPointStruct] ||<style="text-align: center;">- ||<style="text-align: center;">- ||<style="text-align: center;">- ||<style="text-align: center;"> 0.12h || ||<style="text-align: center;"> Send Waypoint ||<style="text-align: center;">'w' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;">[:en/WayPointStruct:WayPointStruct] (sending an invalid position will clear the WPList) ||<style="text-align: center;">'W' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;">u8 Number of WPs ||<style="text-align: center;"> 0.12h || ||<style="text-align: center;"> Request Waypoint ||<style="text-align: center;">'x' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;">u8 WP-Index ||<style="text-align: center;">'X' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;">u8 Number of WPs, u8 WP-Index, [:en/WayPointStruct:WayPointStruct] ||<style="text-align: center;"> 0.14f || ||<style="text-align: center;"> Request OSD-Data ||<style="text-align: center;">'o' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;"> 1 byte sending interval ( in 10ms steps ) ||<style="text-align: center;">'O' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;">[:en/NaviDataStruct:NaviDataStruct] ||<style="text-align: center;"> 0.12h || |
||<style="text-align: center;"> Send target Position ||<style="text-align: center;">'s' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;"> [[en/WayPointStruct|WayPointStruct]] ||<style="text-align: center;">- ||<style="text-align: center;">- ||<style="text-align: center;">- ||<style="text-align: center;"> 0.12h || ||<style="text-align: center;"> Send Waypoint ||<style="text-align: center;">'w' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;">[[en/WayPointStruct|WayPointStruct]] (sending an invalid position will clear the WPList) ||<style="text-align: center;">'W' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;">u8 Number of WPs ||<style="text-align: center;"> 0.12h || ||<style="text-align: center;"> Request Waypoint ||<style="text-align: center;">'x' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;">u8 WP-Index ||<style="text-align: center;">'X' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;">u8 Number of WPs, u8 WP-Index, [[en/WayPointStruct|WayPointStruct]] ||<style="text-align: center;"> 0.14f || ||<style="text-align: center;"> Request OSD-Data ||<style="text-align: center;">'o' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;"> 1 byte sending interval ( in 10ms steps ) ||<style="text-align: center;">'O' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;">[[en/NaviDataStruct|NaviDataStruct]] ||<style="text-align: center;"> 0.12h || |
Zeile 34: | Zeile 46: |
= MK3-MAG = | || Set/get NC-Parameter || 'j' || !NC-Addr || ? ||- ||- ||- || 0.20 || == MK3-MAG == |
Zeile 40: | Zeile 54: |
*/ |