nl:: Ble:: Platform:: BlueZ
Zusammenfassung
Variablen |
|
---|---|
gBluezBleApplicationDelegate
|
BluezBleApplicationDelegate *
|
gBluezBlePlatformDelegate
|
BluezBlePlatformDelegate *
|
gBluezServerEndpoint
|
Funktionen |
|
---|---|
CloseBleconnection(void)
|
void
BLE-Verbindung beenden.
|
ExitBluezIOThread(void)
|
void
Beenden Sie den BluezIO-Thread.
|
RunBluezIOThread(BluezPeripheralArgs *arg)
|
bool
Führen Sie WoBle über den Bluez-Thread aus.
|
RunOnBluezIOThread(int(*)(void *) aCallback, void *aClosure)
|
bool
Rufen Sie eine Funktion auf, die im BluezIO-Thread-Kontext ausgeführt werden soll.
|
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
|
Variablen
gBluezBleApplicationDelegate
BluezBleApplicationDelegate * gBluezBleApplicationDelegate
gBluezBlePlatformDelegate
BluezBlePlatformDelegate * gBluezBlePlatformDelegate
gBluezServerEndpoint
BluezServerEndpoint * gBluezServerEndpoint
Funktionen
CloseBleconnection
void CloseBleconnection( void )
BLE-Verbindung beenden.
ExitBluezIOThread
void ExitBluezIOThread( void )
Beenden Sie den BluezIO-Thread.
RunBluezIOThread
bool RunBluezIOThread( BluezPeripheralArgs *arg )
Führen Sie WoBle über den Bluez-Thread aus.
Details | |
---|---|
Rückgabe |
Gibt "true" zurück, wenn die WoBluez-Bibliothek den Weave-Gatt-Server zusammen mit dem Werbetreibenden registrieren kann. Andernfalls wird "false" zurückgegeben.
|
RunOnBluezIOThread
bool RunOnBluezIOThread( int(*)(void *) aCallback, void *aClosure )
Rufen Sie eine Funktion auf, die im BluezIO-Thread-Kontext ausgeführt werden soll.
Details | |
---|---|
Rückgabe |
Gibt "true" zurück, wenn die Ausführung einer Funktion erfolgreich im BluezIO-Thread-Kontext geplant wurde. Andernfalls wird "false" zurückgegeben.
|
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 )