2.0.0.4R9
Software Development Kit
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
wiced_bt_spp_reg_t Struct Reference

Data Fields

wiced_bt_spp_connection_down_callback_t p_connection_down_callback
 
wiced_bt_spp_connection_failed_callback_t p_connection_failed_callback
 
wiced_bt_spp_connection_up_callback_t p_connection_up_callback
 
wiced_bt_spp_rx_data_callback_t p_rx_data_callback
 
wiced_bt_spp_service_not_found_callback_t p_service_not_found_callback
 
uint16_t rfcomm_mtu
 
uint8_t rfcomm_scn
 

Detailed Description

Following structure is used to register application with wiced_bt_spp library

Field Documentation

wiced_bt_spp_connection_down_callback_t wiced_bt_spp_reg_t::p_connection_down_callback

iAP2 connection disconnected

wiced_bt_spp_connection_failed_callback_t wiced_bt_spp_reg_t::p_connection_failed_callback

iAP2 connection establishment failed

wiced_bt_spp_connection_up_callback_t wiced_bt_spp_reg_t::p_connection_up_callback

iAP2 connection established

wiced_bt_spp_rx_data_callback_t wiced_bt_spp_reg_t::p_rx_data_callback

Data packet received

wiced_bt_spp_service_not_found_callback_t wiced_bt_spp_reg_t::p_service_not_found_callback

iAP2 service not found

uint16_t wiced_bt_spp_reg_t::rfcomm_mtu

MTU to be be used by the RFCOMM layer

uint8_t wiced_bt_spp_reg_t::rfcomm_scn

Application selects RFCOMM SCN that it publishes in the SDP and need to pass the same value for library to use.


The documentation for this struct was generated from the following file: