11 #define RC_TIMEOUT 15000 14 #ifndef RC_CONNECT_TIMEOUT 15 #define RC_CONNECT_TIMEOUT 2500 23 #define RC_ERROR_LOST_CONNECTION -11 27 #define RC_ERROR_TIMEOUT -12 31 #define RC_ERROR_BAD_DATA -13 35 #define RC_ERROR_CONNECTION_REFUSED -14 39 #define RC_ERROR_NOT_CONNECTED -21 43 #define RC_ERROR_ALREADY_CONNECTED -22 86 int8_t
force_send(
void* buf, uint8_t size,
unsigned long timeout);
const uint8_t _PACKET_UPDATE_TRANS_SETTINGS
const uint8_t _PAIR_ADDRESS[5]
const uint8_t _PACKET_CHANNELS
void apply_settings(RCSettings *settings)
const uint8_t _PACKET_DISCONNECT
int8_t wait_till_available(unsigned long timeout)
int8_t force_send(void *buf, uint8_t size, unsigned long timeout)
const uint8_t _DISCONNECT[5]
const uint8_t _PACKET_UPDATE_RECVR_SETTINGS
const uint8_t _PACKET_RECONNECT