[Electron] retrieve IMEI and ICCID

I’ve looked around but could not find any reference to a call that would give me the IMEI and ICCID of an electron. Can I get this other than making an API call and parsing the output?

thanks,
Bil

This did it for me (Electron with 0.5.2 FW):

  CellularDevice device;
  memset(&device, 0, sizeof(device));
  device.size = sizeof(device);
  cellular_device_info(&device, NULL);

  //device.imei (string) IMEI of the 3G modem
  //device.iccid (string) ICCID of the SIM card