The LAC and CID of RIL_REQUEST_REGISTRATION_STATE should be in the hex format. The valid LAC are from 0x0000 to 0xffff and Valid CID are from 0x00000000 to 0xffffffff. reference-ril should return hex value instead of decimal one.
modified: reference-ril/reference-ril.c
}
asprintf(&responseStr[0], "%d", response[0]);
- asprintf(&responseStr[1], "%d", response[1]);
- asprintf(&responseStr[2], "%d", response[2]);
+ asprintf(&responseStr[1], "%x", response[1]);
+ asprintf(&responseStr[2], "%x", response[2]);
if (count > 3)
asprintf(&responseStr[3], "%d", response[3]);