BlueNRG-MS pack for STM32CubeMX: hci/controller/bluenrg_hal_aci.c File Reference

STM32CubeMX BlueNRG-MS

BlueNRG-MS pack for STM32CubeMX  V4.4.0
The BlueNRG-MS pack is an additional software for STM32CubeMX.
bluenrg_hal_aci.c File Reference
#include "bluenrg_types.h" #include "bluenrg_def.h"
#include "hci_const.h"
#include "bluenrg_aci_const.h"
#include "bluenrg_hal_aci.h"
#include "bluenrg_gatt_server.h"
#include "bluenrg_gap.h"

Macros

#define MIN(a, b)   ((a) < (b) )? (a) : (b)
 
#define MAX(a, b)   ((a) > (b) )? (a) : (b)
 

Functions

tBleStatus aci_hal_get_fw_build_number (uint16_t *build_number)
 This command retrieves the buid number of the firmware. More...
 
tBleStatus aci_hal_write_config_data (uint8_t offset, uint8_t len, const uint8_t *val)
 This command writes a value to a low level configure data structure. More...
 
tBleStatus aci_hal_read_config_data (uint8_t offset, uint16_t data_len, uint8_t *data_len_out_p, uint8_t *data)
 This command requests the value in the low level configure data structure. The number of read bytes changes for different Offset. More...
 
tBleStatus aci_hal_set_tx_power_level (uint8_t en_high_power, uint8_t pa_level)
 This command sets the TX power level of the BlueNRG. More...
 
tBleStatus aci_hal_le_tx_test_packet_number (uint32_t *number_of_packets)
 This command returns the number of packets sent in Direct Test Mode. More...
 
tBleStatus aci_hal_device_standby (void)
 Put the device in standby mode. More...
 
tBleStatus aci_hal_tone_start (uint8_t rf_channel)
 This command starts a carrier frequency, i.e. a tone, on a specific channel. More...
 
tBleStatus aci_hal_tone_stop (void)
 
tBleStatus aci_hal_get_link_status (uint8_t link_status[8], uint16_t conn_handle[8])
 This command returns the status of all the connections. More...
 
tBleStatus aci_hal_get_anchor_period (uint32_t *anchor_period, uint32_t *max_free_slot)
 This command returns the anchor period and the largest available slot. More...
 

Macro Definition Documentation

◆ MAX

#define MAX (   a,
 
)    ((a) > (b) )? (a) : (b)

◆ MIN

#define MIN (   a,
 
)    ((a) < (b) )? (a) : (b)
Generated on Mon Apr 15 2019 18:10:39 for BlueNRG-MS pack for STM32CubeMX by   doxygen 1.8.13