nl:: Ble:: Platform:: BlueZ
摘要
变量 |
|
---|---|
gBluezBleApplicationDelegate
|
BluezBleApplicationDelegate *
|
gBluezBlePlatformDelegate
|
BluezBlePlatformDelegate *
|
gBluezServerEndpoint
|
函数 |
|
---|---|
CloseBleconnection(void)
|
void
关闭 BLE 连接。
|
ExitBluezIOThread(void)
|
void
退出 BluezIO 线程。
|
RunBluezIOThread(BluezPeripheralArgs *arg)
|
bool
在 Bluez 线程上运行 WoBle。
|
RunOnBluezIOThread(int(*)(void *) aCallback, void *aClosure)
|
bool
调用一个要在 BluezIO 线程上下文中运行的函数。
|
WoBLEz_ConnectionClosed(void *user_data)
|
void
|
WoBLEz_IndicationConfirmation(void *user_data)
|
void
|
WoBLEz_NewConnection(void *user_data)
|
void
|
WoBLEz_ScheduleSendIndication(void *user_data, nl::Weave::System::PacketBuffer *msgBuf)
|
bool
|
WoBLEz_SubscriptionChange(void *user_data)
|
void
|
WoBLEz_TimerCb(void *user_data)
|
bool
|
WoBLEz_WriteReceived(void *user_data, const uint8_t *value, size_t len)
|
void
|
变量
gBluezBleApplicationDelegate
BluezBleApplicationDelegate * gBluezBleApplicationDelegate
gBluezBlePlatformDelegate
BluezBlePlatformDelegate * gBluezBlePlatformDelegate
gBluezServerEndpoint
BluezServerEndpoint * gBluezServerEndpoint
函数
CloseBleconnection
void CloseBleconnection( void )
关闭 BLE 连接。
ExitBluezIOThread
void ExitBluezIOThread( void )
退出 BluezIO 线程。
RunBluezIOThread
bool RunBluezIOThread( BluezPeripheralArgs *arg )
RunOnBluezIOThread
bool RunOnBluezIOThread( int(*)(void *) aCallback, void *aClosure )
调用一个要在 BluezIO 线程上下文中运行的函数。
详细信息 | |
---|---|
返回值 |
返回“true”如果成功安排函数在 BluezIO 线程上下文中运行,则为“false”
|
WoBLEz_ConnectionClosed
void WoBLEz_ConnectionClosed( void *user_data )
WoBLEz_IndicationConfirmation
void WoBLEz_IndicationConfirmation( void *user_data )
WoBLEz_NewConnection
void WoBLEz_NewConnection( void *user_data )
WoBLEz_ScheduleSendIndication
bool WoBLEz_ScheduleSendIndication( void *user_data, nl::Weave::System::PacketBuffer *msgBuf )
WoBLEz_SubscriptionChange
void WoBLEz_SubscriptionChange( void *user_data )
WoBLEz_TimerCb
bool WoBLEz_TimerCb( void *user_data )
WoBLEz_WriteReceived
void WoBLEz_WriteReceived( void *user_data, const uint8_t *value, size_t len )