* the data received from the Crazyflie. Must not include any
* headers or other attachments added by the link.
*/
protected Crtp.Response handleResponse(byte[] data) {
if (data.length >= 1) {
Response response = Crtp.parseResponse(data);
if (response != null && response.isNotification()) {
notifyDataReceived(response);
return null;
}
return response;
}