-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LogManager response with invalid format #58
Comments
Hi, thanks for reporting the issue. I think there have been recent changes in mynewt for integrating mcumgr rather than using the old standard newtmgr. I am not entirely sure what the issue is, but since both ios and android libraries' log collection is busted for seemingly the same reason, there must have been a change on the firmware side. |
The most recent log version (3) has had the I will continue to look into other possibilities. This |
Crash from @Override
public void onDataReceived(@NonNull BluetoothDevice device, @NonNull Data data) {
try {
T response = McuMgrResponse.buildResponse(McuMgrScheme.BLE, data.getValue(), responseType);
onResponseReceived(device, response);
} catch (final Exception e) {
onInvalidDataReceived(device, data);
}
|
Hey, Regarding the |
That is the issue. Not sure how it worked before (if it did) but V2 has been deprecated for V3 which uses a byte[] for the |
Hi,
I'm trying to get the logs from a device using the LogManager, and while trying to getAllFromState(State) or manager.getAll() I'm getting an exception on the parse of an entry on the response object.
The Object is McuMgrLogResponse.Entry and the property that I'm getting the error is msg because the format is in Byte[] and I'm receiving it as String.
Does this error has something to do with any Mynewt updates that are breaking the SDK?
Thank you
The text was updated successfully, but these errors were encountered: