+ \r
+ struct\r
+ {\r
+ RFCOMM_Command_t CommandHeader;\r
+ uint8_t Length;\r
+ uint8_t TestData[CommandDataLen];\r
+ } TestResponse;\r
+\r
+ /* Fill out the Test response data */\r
+ TestResponse.CommandHeader = (RFCOMM_Command_t){.Command = RFCOMM_Control_Test, .EA = true};\r
+ TestResponse.Length = (CommandDataLen << 1) | 0x01;\r
+ memcpy(TestResponse.TestData, Params, CommandDataLen);\r
+ \r
+ BT_RFCOMM_DEBUG(1, ">> TEST Response");\r
+\r
+ /* Send the PDN response to acknowledge the command */\r
+ RFCOMM_SendFrame(RFCOMM_CONTROL_DLCI, false, RFCOMM_Frame_UIH, sizeof(TestResponse), &TestResponse, Channel);\r