@@ -42,7 +42,7 @@ uint8_t SHCI_C2_FUS_GetState( SHCI_FUS_GetState_ErrorCode_t *p_error_code )
42
42
/**
43
43
* A command status event + payload has the same size than the expected command complete
44
44
*/
45
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE + 1 ];
45
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
46
46
TL_EvtPacket_t * p_rsp ;
47
47
48
48
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -66,7 +66,7 @@ SHCI_CmdStatus_t SHCI_C2_FUS_FwUpgrade( uint32_t fw_src_add, uint32_t fw_dest_a
66
66
* TL_BLEEVT_CS_BUFFER_SIZE is 15 bytes so it is large enough to hold the 8 bytes of command parameters
67
67
* Buffer is large enough to hold command complete without payload
68
68
*/
69
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
69
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
70
70
TL_EvtPacket_t * p_rsp ;
71
71
uint32_t * p_cmd ;
72
72
uint8_t cmd_length ;
@@ -101,7 +101,7 @@ SHCI_CmdStatus_t SHCI_C2_FUS_FwDelete( void )
101
101
/**
102
102
* Buffer is large enough to hold command complete without payload
103
103
*/
104
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
104
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
105
105
TL_EvtPacket_t * p_rsp ;
106
106
107
107
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -119,7 +119,7 @@ SHCI_CmdStatus_t SHCI_C2_FUS_UpdateAuthKey( SHCI_C2_FUS_UpdateAuthKey_Cmd_Param_
119
119
/**
120
120
* Buffer is large enough to hold command complete without payload
121
121
*/
122
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
122
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
123
123
TL_EvtPacket_t * p_rsp ;
124
124
125
125
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -137,7 +137,7 @@ SHCI_CmdStatus_t SHCI_C2_FUS_LockAuthKey( void )
137
137
/**
138
138
* Buffer is large enough to hold command complete without payload
139
139
*/
140
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
140
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
141
141
TL_EvtPacket_t * p_rsp ;
142
142
143
143
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -155,7 +155,7 @@ SHCI_CmdStatus_t SHCI_C2_FUS_StoreUsrKey( SHCI_C2_FUS_StoreUsrKey_Cmd_Param_t *p
155
155
/**
156
156
* Buffer is large enough to hold command complete without payload
157
157
*/
158
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE + 1 ];
158
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
159
159
TL_EvtPacket_t * p_rsp ;
160
160
uint8_t local_payload_len ;
161
161
@@ -189,7 +189,7 @@ SHCI_CmdStatus_t SHCI_C2_FUS_LoadUsrKey( uint8_t key_index )
189
189
/**
190
190
* Buffer is large enough to hold command complete without payload
191
191
*/
192
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
192
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
193
193
TL_EvtPacket_t * p_rsp ;
194
194
195
195
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -209,7 +209,7 @@ SHCI_CmdStatus_t SHCI_C2_FUS_StartWs( void )
209
209
/**
210
210
* Buffer is large enough to hold command complete without payload
211
211
*/
212
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
212
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
213
213
TL_EvtPacket_t * p_rsp ;
214
214
215
215
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -227,7 +227,7 @@ SHCI_CmdStatus_t SHCI_C2_FUS_LockUsrKey( uint8_t key_index )
227
227
/**
228
228
* Buffer is large enough to hold command complete without payload
229
229
*/
230
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
230
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
231
231
TL_EvtPacket_t * p_rsp ;
232
232
233
233
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -247,7 +247,7 @@ SHCI_CmdStatus_t SHCI_C2_FUS_UnloadUsrKey( uint8_t key_index )
247
247
/**
248
248
* Buffer is large enough to hold command complete without payload
249
249
*/
250
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
250
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
251
251
TL_EvtPacket_t * p_rsp ;
252
252
253
253
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -267,7 +267,7 @@ SHCI_CmdStatus_t SHCI_C2_FUS_ActivateAntiRollback( void )
267
267
/**
268
268
* Buffer is large enough to hold command complete without payload
269
269
*/
270
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
270
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
271
271
TL_EvtPacket_t * p_rsp ;
272
272
273
273
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -285,7 +285,7 @@ SHCI_CmdStatus_t SHCI_C2_BLE_Init( SHCI_C2_Ble_Init_Cmd_Packet_t *pCmdPacket )
285
285
/**
286
286
* Buffer is large enough to hold command complete without payload
287
287
*/
288
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
288
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
289
289
TL_EvtPacket_t * p_rsp ;
290
290
291
291
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -303,7 +303,7 @@ SHCI_CmdStatus_t SHCI_C2_THREAD_Init( void )
303
303
/**
304
304
* Buffer is large enough to hold command complete without payload
305
305
*/
306
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
306
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
307
307
TL_EvtPacket_t * p_rsp ;
308
308
309
309
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -321,7 +321,7 @@ SHCI_CmdStatus_t SHCI_C2_LLDTESTS_Init( uint8_t param_size, uint8_t * p_param )
321
321
/**
322
322
* Buffer is large enough to hold command complete without payload
323
323
*/
324
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
324
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
325
325
TL_EvtPacket_t * p_rsp ;
326
326
327
327
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -339,7 +339,7 @@ SHCI_CmdStatus_t SHCI_C2_BLE_LLD_Init( uint8_t param_size, uint8_t * p_param )
339
339
/**
340
340
* Buffer is large enough to hold command complete without payload
341
341
*/
342
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
342
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
343
343
TL_EvtPacket_t * p_rsp ;
344
344
345
345
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -357,7 +357,7 @@ SHCI_CmdStatus_t SHCI_C2_DEBUG_Init( SHCI_C2_DEBUG_Init_Cmd_Packet_t *pCmdPacket
357
357
/**
358
358
* Buffer is large enough to hold command complete without payload
359
359
*/
360
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
360
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
361
361
TL_EvtPacket_t * p_rsp ;
362
362
363
363
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -375,7 +375,7 @@ SHCI_CmdStatus_t SHCI_C2_FLASH_EraseActivity( SHCI_EraseActivity_t erase_activit
375
375
/**
376
376
* Buffer is large enough to hold command complete without payload
377
377
*/
378
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
378
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
379
379
TL_EvtPacket_t * p_rsp ;
380
380
381
381
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -395,7 +395,7 @@ SHCI_CmdStatus_t SHCI_C2_CONCURRENT_SetMode( SHCI_C2_CONCURRENT_Mode_Param_t Mod
395
395
/**
396
396
* Buffer is large enough to hold command complete without payload
397
397
*/
398
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
398
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
399
399
TL_EvtPacket_t * p_rsp ;
400
400
401
401
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -415,7 +415,7 @@ SHCI_CmdStatus_t SHCI_C2_CONCURRENT_GetNextBleEvtTime( SHCI_C2_CONCURRENT_GetNex
415
415
/**
416
416
* Buffer is large enough to hold command complete without payload
417
417
*/
418
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE + 4 ];
418
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
419
419
TL_EvtPacket_t * p_rsp ;
420
420
421
421
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -435,7 +435,7 @@ SHCI_CmdStatus_t SHCI_C2_CONCURRENT_EnableNext_802154_EvtNotification( void )
435
435
/**
436
436
* Buffer is large enough to hold command complete without payload
437
437
*/
438
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
438
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
439
439
TL_EvtPacket_t * p_rsp ;
440
440
441
441
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -453,7 +453,7 @@ SHCI_CmdStatus_t SHCI_C2_FLASH_StoreData( SHCI_C2_FLASH_Ip_t Ip )
453
453
/**
454
454
* Buffer is large enough to hold command complete without payload
455
455
*/
456
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
456
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
457
457
TL_EvtPacket_t * p_rsp ;
458
458
459
459
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -473,7 +473,7 @@ SHCI_CmdStatus_t SHCI_C2_FLASH_EraseData( SHCI_C2_FLASH_Ip_t Ip )
473
473
/**
474
474
* Buffer is large enough to hold command complete without payload
475
475
*/
476
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
476
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
477
477
TL_EvtPacket_t * p_rsp ;
478
478
479
479
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -493,7 +493,7 @@ SHCI_CmdStatus_t SHCI_C2_RADIO_AllowLowPower( SHCI_C2_FLASH_Ip_t Ip,uint8_t Fla
493
493
/**
494
494
* Buffer is large enough to hold command complete without payload
495
495
*/
496
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
496
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
497
497
TL_EvtPacket_t * p_rsp ;
498
498
499
499
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -514,7 +514,7 @@ SHCI_CmdStatus_t SHCI_C2_Reinit( void )
514
514
/**
515
515
* Buffer is large enough to hold command complete without payload
516
516
*/
517
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
517
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
518
518
TL_EvtPacket_t * p_rsp ;
519
519
520
520
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -533,7 +533,7 @@ SHCI_CmdStatus_t SHCI_C2_ExtpaConfig(uint32_t gpio_port, uint16_t gpio_pin_numbe
533
533
* TL_BLEEVT_CS_BUFFER_SIZE is 15 bytes so it is large enough to hold the 8 bytes of command parameters
534
534
* Buffer is large enough to hold command complete without payload
535
535
*/
536
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
536
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
537
537
TL_EvtPacket_t * p_rsp ;
538
538
539
539
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -557,7 +557,7 @@ SHCI_CmdStatus_t SHCI_C2_SetFlashActivityControl(SHCI_C2_SET_FLASH_ACTIVITY_CONT
557
557
* TL_BLEEVT_CS_BUFFER_SIZE is 15 bytes so it is large enough to hold the 1 byte of command parameter
558
558
* Buffer is large enough to hold command complete without payload
559
559
*/
560
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
560
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
561
561
TL_EvtPacket_t * p_rsp ;
562
562
563
563
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -577,7 +577,7 @@ SHCI_CmdStatus_t SHCI_C2_Config(SHCI_C2_CONFIG_Cmd_Param_t *pCmdPacket)
577
577
/**
578
578
* Buffer is large enough to hold command complete without payload
579
579
*/
580
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
580
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
581
581
TL_EvtPacket_t * p_rsp ;
582
582
583
583
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -595,7 +595,7 @@ SHCI_CmdStatus_t SHCI_C2_802_15_4_DeInit( void )
595
595
/**
596
596
* Buffer is large enough to hold command complete without payload
597
597
*/
598
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
598
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
599
599
TL_EvtPacket_t * p_rsp ;
600
600
601
601
p_rsp = (TL_EvtPacket_t * )local_buffer ;
0 commit comments