Skip to content

Commit

Permalink
v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
smtcbboulet committed Nov 25, 2022
1 parent eaebcd7 commit f6a52c0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ void P2PS_STM_App_Notification(P2PS_STM_App_Notification_evt_t *pNotification)
uint8_t out_buffer[244];
uint8_t out_buffer_size = 0;

out_buffer_size = tracker_parse_cmd( 0, pNotification->DataTransfered.pPayload, out_buffer, true );
out_buffer_size =
tracker_parse_cmd( 0, pNotification->DataTransfered.pPayload, out_buffer, sizeof( out_buffer ), true );

if(out_buffer_size > 0)
{
Expand Down Expand Up @@ -208,7 +209,7 @@ void P2PS_Send_Notification( void )
if( P2P_Server_App_Context.ReadWrite.ReadyToSend == 0x01 )
{
P2P_Server_App_Context.ReadWrite.ReadyToSend = 0;
HAL_DBG_TRACE_MSG( "-- P2P APPLICATION SERVER : INFORM CLIENT ASNWER CMD \n" );
HAL_DBG_TRACE_MSG( "-- P2P APPLICATION SERVER : INFORM CLIENT ANSWER CMD \n" );
if( P2P_Server_App_Context.Notification_Status == 1 )
{
P2PS_STM_App_Update_Char( P2P_NOTIFY_CHAR_UUID, P2P_Server_App_Context.ReadWrite.Buffer,
Expand Down

0 comments on commit f6a52c0

Please sign in to comment.