Größe: 11471
Kommentar:
|
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 || || Engine Test ||'t' || FC-Addr || u8[4] values for the 4 engines || 'T' || FC-Addr ||- ||0.71f || || 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 || |
|| Compass Heading ||'K' || FC-Addr || s16 Compass Value ||'k' || MK3MAG-Addr ||Nick Roll Attitude ... ||0.71f || || Engine Test ||'t' || FC-Addr || u8[16] values for the engines || 'T' || FC-Addr ||- ||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 20: | Zeile 27: |
|| Set 3D-Data Interval || 'c' || !AnyAddr || u8 Interval || 'C' || FC-Addr || struct Data3D|| 0.72p || | |
Zeile 22: | 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 25: | Zeile 38: |
||<style="text-align: center;"> Serial Link Test ||<style="text-align: center;">'z' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;">u16 !EchoPattern ||<style="text-align: center;">'Z' ||<style="text-align: center;">NC-Addr ||<style="text-align: center;">u16 !EchoPattern ||<style="text-align: center;"> 0.14f || | |
Zeile 26: | 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] ||<style="text-align: center;">- ||<style="text-align: center;">- ||<style="text-align: center;">- ||<style="text-align: center;"> 0.12h || ||<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 30: | Zeile 45: |
= MK3-MAG = | || Set 3D-Data Interval || 'c' || !AnyAddr || u8 Interval || 'C' || NC-Addr || struct Data3D|| 0.14a || || Set/get NC-Parameter || 'j' || !NC-Addr || ? ||- ||- ||- || 0.20 || == MK3-MAG == |
Zeile 36: | Zeile 54: |
*/ |