Go to the documentation of this file.00001
00011
00012
00013
00014
00015
00016
00017 #if (defined PBP_ORG) || (defined PBP_REC) || (defined DOXYGEN)
00018
00019
00020 #ifndef PB_PAIRING_H
00021 #define PB_PAIRING_H
00022
00023
00024
00025
00026 #include "rf4ce.h"
00027
00028
00029
00030
00031 #if (defined RF4CE_CALLBACK_PARAM)
00032 #if (defined PBP_ORG)
00033 typedef void (*pbp_org_pair_confirm_cb_t)(nwk_enum_t Status, uint8_t PairingRef);
00034 #endif
00035 #if (defined PBP_REC)
00036 typedef void (*pbp_rec_pair_confirm_cb_t)(nwk_enum_t Status, uint8_t PairingRef);
00037 #endif
00038 #endif
00039
00040
00041
00042
00043
00044
00045
00046
00047
00064 #if (defined PBP_REC) || (defined DOXYGEN)
00065 bool pbp_rec_pair_request(uint8_t RecAppCapabilities,
00066 dev_type_t RecDevTypeList[3],
00067 profile_id_t RecProfileIdList[7]
00068 #if (defined RF4CE_CALLBACK_PARAM) || (defined DOXYGEN)
00069 , FUNC_PTR confirm_cb
00070 #endif
00071 );
00072 #endif
00073
00074
00094 #if (defined PBP_REC) || (defined DOXYGEN)
00095 bool pbp_allow_pairing(nwk_enum_t Status, uint64_t SrcIEEEAddr,
00096 uint16_t OrgVendorId, uint8_t OrgVendorString[7],
00097 uint8_t OrgUserString[15], uint8_t KeyExTransferCount);
00098 #endif
00099
00100
00113 #if (!defined RF4CE_CALLBACK_PARAM) || (defined DOXYGEN)
00114 #if (defined PBP_REC) || (defined DOXYGEN)
00115 void pbp_rec_pair_confirm(nwk_enum_t Status, uint8_t PairingRef);
00116 #endif
00117 #endif
00118
00119
00120
00121
00122
00142 #if (defined PBP_ORG) || (defined DOXYGEN)
00143 bool pbp_org_pair_request(uint8_t OrgAppCapabilities,
00144 dev_type_t OrgDevTypeList[3],
00145 profile_id_t OrgProfileIdList[7],
00146 dev_type_t SearchDevType, uint8_t DiscProfileIdListSize,
00147 profile_id_t DiscProfileIdList[7]
00148 #if (defined RF4CE_CALLBACK_PARAM) || (defined DOXYGEN)
00149 , FUNC_PTR confirm_cb
00150 #endif
00151 );
00152 #endif
00153
00154
00167 #if (!defined RF4CE_CALLBACK_PARAM) || (defined DOXYGEN)
00168 #if (defined PBP_ORG) || (defined DOXYGEN)
00169 void pbp_org_pair_confirm(nwk_enum_t Status, uint8_t PairingRef);
00170 #endif
00171 #endif
00172
00173
00174
00175 #endif
00176
00177 #endif
00178
00179