OSXBLUEVOICE
Documentation for OSXBLUEVOICE Library for STM32, BlueNRG and MP34DT01-M
|
osx_bluevoice.h
Go to the documentation of this file.
182 uint8_t ServiceUUID[16];
184 uint8_t CharAudioUUID[16];
186 uint8_t CharAudioSyncUUID[16];
286 OSX_BV_Status osx_BlueVoice_AddChar(OSX_BLUEVOICE_uuid_t uuid, uint16_t service_handle, OSX_BLUEVOICE_ProfileHandle_t *handle);
355 OSX_BV_Status osx_BlueVoice_ParseData(uint8_t* buffer_in, uint32_t Len, uint16_t attr_handle, uint8_t* buffer_out, uint8_t *samples);
386 OSX_BV_Status osx_BlueVoice_AttributeModified_CB(uint16_t attr_handle, uint8_t attr_len, uint8_t *attr_value);
Sampling_fr_t sampling_frequency
Definition: osx_bluevoice.h:162
Definition: osx_bluevoice.h:73
OSX_BV_Profile_Status osx_BlueVoice_GetStatus(void)
This function returns the BLUEVOICE Profile State Machine status.
Definition: osx_bluevoice.h:99
OSX_BV_Status osx_BlueVoice_SendData(uint16_t *NbyteSent)
This function must be called when the compressed audio data are ready, (when the function BLUEVOICE_A...
OSX_BV_Status osx_BlueVoice_IncTick(void)
This function increases the the internal counter, used to switch from Receiving/Streaming to Ready st...
OSX_BV_Status osx_BlueVoice_ConnectionComplete_CB(uint16_t handle)
This function must be called when there is a LE Connection Complete event.
OSX_BV_Status osx_BlueVoice_AddChar(OSX_BLUEVOICE_uuid_t uuid, uint16_t service_handle, OSX_BLUEVOICE_ProfileHandle_t *handle)
This function is called to add BlueVoice characteristics.
OSX_BV_Status osx_BlueVoice_SetTxHandle(OSX_BLUEVOICE_ProfileHandle_t *tx_handle)
This function is called to set the handles if the BlueVoice characteristics are added out of the libr...
Definition: osx_bluevoice.h:90
OSX_BV_Status osx_BlueVoice_ParseData(uint8_t *buffer_in, uint32_t Len, uint16_t attr_handle, uint8_t *buffer_out, uint8_t *samples)
This function is called to parse received data.
Definition: osx_bluevoice.h:138
Definition: osx_bluevoice.h:96
Definition: osx_bluevoice.h:89
Definition: osx_bluevoice.h:93
OSX_BV_Status osx_BlueVoice_SetConfig(OSX_BLUEVOICE_Config_t *OSX_BLUEVOICE_Config)
This function is called to set the configuration parameters.
OSX_BV_Status osx_BlueVoice_SetRxHandle(OSX_BLUEVOICE_ProfileHandle_t *rx_handle)
This function is called to set the handles discovered, if an other BlueVoice module is available...
OSX_BV_Mode osx_BlueVoice_GetMode(void)
This function returns the current modality.
Definition: osx_bluevoice.h:137
OSX_BV_Status osx_BlueVoice_EnableNotification(void)
This function is called to enable notifications mechanism.
uint8_t osx_BlueVoice_IsProfileConfigured(void)
This function returns if the BlueVoice Profile is configured.
Definition: osx_bluevoice.h:95
Definition: osx_bluevoice.h:116
OSX_BV_Status osx_BlueVoice_DisconnectionComplete_CB(void)
This function must be called when there is a LE disconnection Complete event.
Definition: osx_bluevoice.h:94
Definition: osx_bluevoice.h:100
Definition: osx_bluevoice.h:136
uint16_t CharAudioSyncHandle
Definition: osx_bluevoice.h:206
Definition: osx_bluevoice.h:92
Definition: osx_bluevoice.h:118
Definition: osx_bluevoice.h:101
uint16_t CharAudioHandle
Definition: osx_bluevoice.h:204
BlueVoice profile configuration parameters.
Definition: osx_bluevoice.h:200
OSX_BV_Status osx_BlueVoice_AddService(uint8_t *service_uuid, uint16_t *service_handle)
This function is called to add BlueVoice Service.
Definition: osx_bluevoice.h:91
int osx_BlueVoice_GetLibVersion(char *version)
This function is called to get library version.
Definition: osx_bluevoice.h:98
Definition: osx_bluevoice.h:117
Definition: osx_bluevoice.h:119
Definition: osx_bluevoice.h:134
OSX_BV_Status osx_BlueVoice_AttributeModified_CB(uint16_t attr_handle, uint8_t attr_len, uint8_t *attr_value)
This function must be called when there is a LE attribut modified event.
Definition: osx_bluevoice.h:74
OSX_BV_Status osx_BlueVoice_AudioIn(uint16_t *buffer, uint8_t Nsamples)
This function is called to fill audio buffer.
Definition: osx_bluevoice.h:97
Definition: osx_bluevoice.h:135
Generated on Mon Aug 29 2016 15:19:56 for OSXBLUEVOICE by 1.8.9.1