Other Parts Discussed in Thread: CC2564
1. Our project is STM32+CC2564C, using SPPdemo communication, the packaging parameters are: 1010 2020 3030, after the communication distance is long, the software of the host computer will suddenly not receive feedback during the communication process,
2. We captured the HCI data and found that the data in the HCI data output by CC2564 has errors, which should be caused by the data transmission in the air. The STM32 application layer also did not receive etPort_Data_Indication
3. Does this kind of error have corresponding event information transmitted to the PC software? Or Bluetopia will send the corresponding error event to the SPP_Event_Callback application layer. There seems to be no error event information in the SPP_Event_Type_t structure.
typedef enum
{
etPort_Open_Indication, /*!< Indicate that a Remote Port Open connection has been made. */
etPort_Open_Confirmation, /*!< Confirm that a Port Open request has been responded to or errored out. */
etPort_Close_Port_Indication, /*!< Indicate that a port has been closed (unregistered). */
etPort_Status_Indication, /*!< Indicate that a change in port status has been received. */
etPort_Data_Indication, /*!< Indicate that data has arrived on a port. */
etPort_Transmit_Buffer_Empty_Indication, /*!< Indicate when the Transmit Buffer is Empty (only if the Transmit Buffer was completely full or the SPP_Purge_Buffer() function was called with the option to flush the buffer). */
etPort_Line_Status_Indication, /*!< Indicate that a change in line status has been received. */
etPort_Send_Port_Information_Indication, /*!< Indicate that a remote device's port parameters have been received (start of negotiation of parameters). */
etPort_Send_Port_Information_Confirmation, /*!< Confirm that a response has been received to a send port parameters command.*/
etPort_Query_Port_Information_Indication, /*!< Indicate that a request to send current port parameters has been received. */
etPort_Query_Port_Information_Confirmation, /*!< Confirm that a response has been received to a request to send current port parameters. */
etPort_Open_Request_Indication /*!< Indicate that a Remote Port Open request has been received. */
} SPP_Event_Type_t;
4. HCI receives data error and fails to decode and send the corresponding event information to SPP_Event_Callback of STM32. Is there an error message in this case? How to send the error message to the PC host and let it resend the data?