-
Notifications
You must be signed in to change notification settings - Fork 70
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
getting wrong endpointname msisdnice[msisdn]
instead of the expected urn:imei-msisdn:<imei>-<phonenumber>
#74
Comments
已收到,我会尽快回复!
|
Hi! |
Hi @Kucmasz , Thanks for your quick response. our bootstrap steps are successful. we are sending correct we are using client initiated bootstrap. can you please let us know where this buffer corruption is happing while sending the registration message. Please help us to resolve or pin point the issue. Thanks for the support. |
Hi @Kucmasz, As you suggested we printed demo.c
1501 char **ptr = (char **)malloc(ROW * sizeof(char *));
1502 memset(ptr,'\0', ROW * sizeof(char *));
1503 for (int i=0; i<ROW; i++) {
1504 ptr[i] = (char *)malloc(COL * sizeof(char));
1505 memset(ptr[i],'\0',sizeof(ptr[i]));
1506 }
1507 saved_argv = ptr; So at 1505 we memset with but at Also please refer to #74 (comment) |
Hi, |
Hi @Kucmasz, Thanks for your ultimate help, Yes we can able to capture the pcap log, and also we can see the sequence flow Nov 19 11:25:31.416 mdm9607 user.notice lwm2m: 2024-11-19 11:25:31.415990 DEBUG [anjay] [/data/hgtf47/BlueBank/FulcrumVariants/repo_bsp/MDM9607.LE.2.0_BB/apps_proc/fulcrum/anjay-1.9.1-source/src/interface/bootstrap_core.c:797]: scheduling Client Initiated Bootstrap
Nov 19 11:25:31.418 mdm9607 user.err lwm2m: 2024-11-19 11:25:31.418705 INFO [anjay] [/data/hgtf47/BlueBank/FulcrumVariants/repo_bsp/MDM9607.LE.2.0_BB/apps_proc/fulcrum/anjay-1.9.1-source/src/interface/bootstrap_core.c:658]: TechM: send_request_bootstrap()
Nov 19 11:25:31.487 mdm9607 user.err lwm2m: 2024-11-19 11:25:31.487334 INFO [anjay] [/data/hgtf47/BlueBank/FulcrumVariants/repo_bsp/MDM9607.LE.2.0_BB/apps_proc/fulcrum/anjay-1.9.1-source/src/interface/bootstrap_core.c:689]: LWM2M: Bootstrap Request sent
Nov 19 11:25:31.701 mdm9607 user.notice lwm2m: 2024-11-19 11:25:31.701244 DEBUG [anjay] [/data/hgtf47/BlueBank/FulcrumVariants/repo_bsp/MDM9607.LE.2.0_BB/apps_proc/fulcrum/anjay-1.9.1-source/src/anjay_core.c:523]: LWM2M: MsgResult: Bootstrap Finish
Nov 19 11:26:37.304 mdm9607 user.err lwm2m: 2024-11-19 11:26:37.304881 INFO [anjay] [/data/hgtf47/BlueBank/FulcrumVariants/repo_bsp/MDM9607.LE.2.0_BB/apps_proc/fulcrum/anjay-1.9.1-source/src/servers/connection_info.c:713]: connected to gvzwcdp.vzw.motive.com:5684 from
Nov 19 11:27:07.427 mdm9607 user.err lwm2m: 2024-11-19 11:27:07.426988 INFO [anjay] [/data/hgtf47/BlueBank/FulcrumVariants/repo_bsp/MDM9607.LE.2.0_BB/apps_proc/fulcrum/anjay-1.9.1-source/src/interface/register.c:224]: Register sent
Nov 19 11:27:07.427 mdm9607 user.err lwm2m: 2024-11-19 11:27:07.427189 INFO [anjay] [/data/hgtf47/BlueBank/FulcrumVariants/repo_bsp/MDM9607.LE.2.0_BB/apps_proc/fulcrum/anjay-1.9.1-source/src/interface/register.c:259]: registration successful, location = /rd/QUabTg9eB6 Below is the pcap log, but we are unable to decrypt it. But we can see the correct bootstrap urn while bootstrapping in dtls msg but while registering we are now able to see the only imei number as we did memset at #74 (comment) instead of Please help us on this. |
Generally the endpoint name is set by the application and expected to be null-terminated, endpoint name is client-wide and does not change for different management and bootstrap servers, so if printing it before |
Hi @Kucmasz
No, The demo.c we have modified to get it work with linux wireless device
please look into #74 (comment) after we have linked the pcap log already but is there a way to give the decryption key through mail ? |
Hi Team,
Issue details:
In few devices during the bootstrap and registration process. It seems that the server is receiving an incorrect endpoint name, specifically
msisdnice[msisdn]
instead of the expectedurn:imei-msisdn:<imei>-<phonenumber>
From our application side, we are sending the correct IMEI+MSISDN, so this discrepancy we are getting.
We need your assistance identifying the specific files and functions within the mbedtls and coap layers where we can print the buffer and check where this value
urn:imei-msisdn:
is corrupted, which is coming from the application layer.Your quick support is highly appreciable
The text was updated successfully, but these errors were encountered: