@@ -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_ZIGBEE_Init( void )
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_DEBUG_Init( SHCI_C2_DEBUG_Init_Cmd_Packet_t *pCmdPacket
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 ;
@@ -393,7 +393,7 @@ SHCI_CmdStatus_t SHCI_C2_FLASH_EraseActivity( SHCI_EraseActivity_t erase_activit
393
393
/**
394
394
* Buffer is large enough to hold command complete without payload
395
395
*/
396
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
396
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
397
397
TL_EvtPacket_t * p_rsp ;
398
398
399
399
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -413,7 +413,7 @@ SHCI_CmdStatus_t SHCI_C2_CONCURRENT_SetMode( SHCI_C2_CONCURRENT_Mode_Param_t Mod
413
413
/**
414
414
* Buffer is large enough to hold command complete without payload
415
415
*/
416
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
416
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
417
417
TL_EvtPacket_t * p_rsp ;
418
418
419
419
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -433,7 +433,7 @@ SHCI_CmdStatus_t SHCI_C2_CONCURRENT_GetNextBleEvtTime( SHCI_C2_CONCURRENT_GetNex
433
433
/**
434
434
* Buffer is large enough to hold command complete without payload
435
435
*/
436
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE + 4 ];
436
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
437
437
TL_EvtPacket_t * p_rsp ;
438
438
439
439
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -453,7 +453,7 @@ SHCI_CmdStatus_t SHCI_C2_CONCURRENT_EnableNext_802154_EvtNotification( void )
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 ;
@@ -471,7 +471,7 @@ SHCI_CmdStatus_t SHCI_C2_FLASH_StoreData( SHCI_C2_FLASH_Ip_t Ip )
471
471
/**
472
472
* Buffer is large enough to hold command complete without payload
473
473
*/
474
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
474
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
475
475
TL_EvtPacket_t * p_rsp ;
476
476
477
477
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -491,7 +491,7 @@ SHCI_CmdStatus_t SHCI_C2_FLASH_EraseData( SHCI_C2_FLASH_Ip_t Ip )
491
491
/**
492
492
* Buffer is large enough to hold command complete without payload
493
493
*/
494
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
494
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
495
495
TL_EvtPacket_t * p_rsp ;
496
496
497
497
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -511,7 +511,7 @@ SHCI_CmdStatus_t SHCI_C2_RADIO_AllowLowPower( SHCI_C2_FLASH_Ip_t Ip,uint8_t Fla
511
511
/**
512
512
* Buffer is large enough to hold command complete without payload
513
513
*/
514
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
514
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
515
515
TL_EvtPacket_t * p_rsp ;
516
516
517
517
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -532,7 +532,7 @@ SHCI_CmdStatus_t SHCI_C2_MAC_802_15_4_Init( void )
532
532
/**
533
533
* Buffer is large enough to hold command complete without payload
534
534
*/
535
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
535
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
536
536
TL_EvtPacket_t * p_rsp ;
537
537
538
538
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -550,7 +550,7 @@ SHCI_CmdStatus_t SHCI_C2_Reinit( void )
550
550
/**
551
551
* Buffer is large enough to hold command complete without payload
552
552
*/
553
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
553
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
554
554
TL_EvtPacket_t * p_rsp ;
555
555
556
556
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -569,7 +569,7 @@ SHCI_CmdStatus_t SHCI_C2_ExtpaConfig(uint32_t gpio_port, uint16_t gpio_pin_numbe
569
569
* TL_BLEEVT_CS_BUFFER_SIZE is 15 bytes so it is large enough to hold the 8 bytes of command parameters
570
570
* Buffer is large enough to hold command complete without payload
571
571
*/
572
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
572
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
573
573
TL_EvtPacket_t * p_rsp ;
574
574
575
575
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -593,7 +593,7 @@ SHCI_CmdStatus_t SHCI_C2_SetFlashActivityControl(SHCI_C2_SET_FLASH_ACTIVITY_CONT
593
593
* TL_BLEEVT_CS_BUFFER_SIZE is 15 bytes so it is large enough to hold the 1 byte of command parameter
594
594
* Buffer is large enough to hold command complete without payload
595
595
*/
596
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
596
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
597
597
TL_EvtPacket_t * p_rsp ;
598
598
599
599
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -613,7 +613,7 @@ SHCI_CmdStatus_t SHCI_C2_Config(SHCI_C2_CONFIG_Cmd_Param_t *pCmdPacket)
613
613
/**
614
614
* Buffer is large enough to hold command complete without payload
615
615
*/
616
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
616
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
617
617
TL_EvtPacket_t * p_rsp ;
618
618
619
619
p_rsp = (TL_EvtPacket_t * )local_buffer ;
@@ -631,7 +631,7 @@ SHCI_CmdStatus_t SHCI_C2_802_15_4_DeInit( void )
631
631
/**
632
632
* Buffer is large enough to hold command complete without payload
633
633
*/
634
- uint8_t local_buffer [TL_BLEEVT_CS_BUFFER_SIZE ];
634
+ uint8_t local_buffer [TL_BLEEVT_CC_BUFFER_SIZE ];
635
635
TL_EvtPacket_t * p_rsp ;
636
636
637
637
p_rsp = (TL_EvtPacket_t * )local_buffer ;
0 commit comments