diff options
Diffstat (limited to 'Middlewares/ST/STM32_WPAN/ble/core/auto/ble_hal_aci.c')
-rw-r--r-- | Middlewares/ST/STM32_WPAN/ble/core/auto/ble_hal_aci.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Middlewares/ST/STM32_WPAN/ble/core/auto/ble_hal_aci.c b/Middlewares/ST/STM32_WPAN/ble/core/auto/ble_hal_aci.c index a1348d41f..2dd97aa1e 100644 --- a/Middlewares/ST/STM32_WPAN/ble/core/auto/ble_hal_aci.c +++ b/Middlewares/ST/STM32_WPAN/ble/core/auto/ble_hal_aci.c @@ -254,27 +254,6 @@ tBleStatus aci_hal_set_event_mask( uint32_t Event_Mask ) return status; } -tBleStatus aci_hal_set_smp_eng_config( uint32_t SMP_Config ) -{ - struct hci_request rq; - uint8_t cmd_buffer[BLE_CMD_MAX_PARAM_LEN]; - aci_hal_set_smp_eng_config_cp0 *cp0 = (aci_hal_set_smp_eng_config_cp0*)(cmd_buffer); - tBleStatus status = 0; - int index_input = 0; - cp0->SMP_Config = SMP_Config; - index_input += 4; - Osal_MemSet( &rq, 0, sizeof(rq) ); - rq.ogf = 0x3f; - rq.ocf = 0x01b; - rq.cparam = cmd_buffer; - rq.clen = index_input; - rq.rparam = &status; - rq.rlen = 1; - if ( hci_send_req(&rq, FALSE) < 0 ) - return BLE_STATUS_TIMEOUT; - return status; -} - tBleStatus aci_hal_get_pm_debug_info( uint8_t* Allocated_For_TX, uint8_t* Allocated_For_RX, uint8_t* Allocated_MBlocks ) |