Understanding the FrSky Smartport Protocol

Data Stream

  1. Byte: Start Sensor Frame (0x7e)
  2. Byte: Sensor Id
  3. Byte: Start Data Frame (0x10)
  4. Byte: Sensor Data Type[0]
  5. Byte: Sensor Data Type[1]
  6. Byte: Data[0]
  7. Byte: Data[1]
  8. Byte: Data[2]
  9. Byte: Data[3]
  10. Byte: CRC

Available Sensor Ids:

#define ID1 0x00
#define ID2 0xA1
#define ID3 0x22
#define ID4 0x83
#define ID5 0xE4
#define ID6 0x45
#define ID7 0xC6
#define ID8 0x67
#define ID9 0x48
#define ID10 0xE9
#define ID11 0x6A
#define ID12 0xCB
#define ID13 0xAC
#define ID14 0x0D
#define ID15 0x8E
#define ID16 0x2F
#define ID17 0xD0
#define ID18 0x71
#define ID19 0xF2
#define ID20 0x53
#define ID21 0x34
#define ID22 0x95
#define ID23 0x16
#define ID24 0xB7
#define ID25 0x98
#define ID26 0x39
#define ID27 0xBA
#define ID28 0x1b

Sensor Data Types:

#define AccX_DATA_ID 0x0700
#define AccY_DATA_ID 0x0710
#define AccZ_DATA_ID 0x0720
#define ASS_SPEED_DATA_ID 0x0A00
#define FAS_CURR_DATA_ID 0x0200
#define FAS_VOLT_DATA_ID 0x0210
#define FLVSS_CELL_DATA_ID 0x0300
#define FUEL_DATA_ID 0x0600
#define GPS_LAT_LON_DATA_ID   0x0800
#define GPS_ALT_DATA_ID       0x0820
#define GPS_SPEED_DATA_ID     0x0830
#define GPS_COG_DATA_ID       0x0840
#define GPS_HDOP_DATA_ID      0xF103
#define RPM_T1_DATA_ID 0x0400
#define RPM_T2_DATA_ID 0x0410
#define RPM_ROT_DATA_ID 0x0500
#define SP2UARTB_ADC3_DATA_ID 0x0900
#define SP2UARTB_ADC4_DATA_ID 0x0910
#define VARIO_ALT_DATA_ID 0x0100
#define VARIO_VSI_DATA_ID 0x0110

Jochen Scheib

 I like techs. And coding. And fpv. And dogs.