Here is the result of your imported MSD using le_ecall_StartTest on live network. (Use PSAP number)
le_ecall_StartManual is only used on network simulator or for real emergency case. It does not use PSAP number but Emergency call.
E-Call from number “PSAP Number”
Date = 14/12/03-10:36:10
Info = H118-80+W+T
Time = 5 sec.
Test = TD_MAN_01_PULL
wl=0121 fl=B:/ECALL/0121.txt
MSD Decoding :
MSD format version = 1
MSD Identifier = 1
Automatic Activation = TRUE
Test Call = TRUE
Position can be Trusted = TRUE
Vehicle Type = 1
WMI = ‘ASD’
WDS = ‘AJNPR1’
ModelYear = ‘V’
SeqPlant = ‘ABCDEFG’
gasolineTankPresent = TRUE
compressedNaturalGas = TRUE
TimeStamp = 1661537341:
===> 26/08/22 18:09:01
Latitude Position = -199680018(mArcSec):
===> -55º 71554’47.278000" LAM#1137.579799
Longitude Position = -271809510(mArcSec):
===> -75º 71552’37.786000" LOM#1117.543829
Direction = 32
LocationN2 Delta(lati:long) = (0 : 127)
Passengers = 2
Add. Data OID Passengers = 2
Here is the used sample code.
const uint8_t MSD2[] = { 0x01, 0x4C, 0x07, 0x80, 0xA6, 0x4D, 0x29, 0x25, 0x97, 0x60, 0x17, 0x0A, 0x2C, 0xC3, 0x4E, 0x3D, 0x05, 0x1B, 0x18, 0x48, 0x61, 0xEB, 0xA0, 0xC8, 0xFF, 0x73, 0x7E, 0x64, 0x20, 0xD1, 0x04, 0x01, 0x3F, 0x81, 0x00 };
eCallRef = le_ecall_Create();
StateChangeHandlerRef = le_ecall_AddStateChangeHandler(EcallStateChangeHandler, eCallRef);
result = le_ecall_ImportMsd(eCallRef, MSD2, sizeof(MSD2));
result = le_ecall_StartTest(eCallRef);