Skip to content

IoT Card Management ​

Overview ​

IoT Card Management is used to maintain SIM card information, ICCID, carrier platform, device binding, traffic usage, and card status. It is commonly used when devices report through cellular networks.

Operation Flow ​

Key Concepts ​

ItemDescription
ICCIDUnique identifier of the SIM card. Keep it consistent with device-reported data.
Card platformCarrier or third-party card platform used for status and usage query.
Bound deviceDevice associated with the SIM card.
Usage statusTraffic, activation, suspension, expiration, and package information.
Device reportDevice can report ICCID and platform identifier together with device info.

Reference Commands And Configuration ​

The following snippets are preserved from the source guide because commands, configuration keys, and protocol examples should remain exact.

ts
   # 描述:1.设备上电后发布设备信息; 2.设备接收到设备信息指令后发布设备信息
   # iccid            可选,物联网卡的ICCID号,设备使用物联网卡时上传
   # cardPlatformId   可选,对应物联网卡管理-卡平台编号,设备上传ICCID号时上传,如果不上传则默认遍历所有卡平台查询

   {
	    "rssi": -43,
	    "firmwareVersion": 1.2,
	    "status": 3,
	    "userId": 2, 
	    "longitude": 0,
	    "latitude": 0,
	    "iccid": 898604293620C0000970,
	    "cardPlatformId": 0,
	    "summary": {
		    "name": "FastBee",
		    "chip": "ESP8266",
		    "author": "fastbee",
		    "deliveryTime": "2023-06-06",
		    "activeTime": "2022-10-01"
	    }
    }

Shared Screenshots ​

The English documentation reuses the screenshots from the Chinese source page. UI labels in screenshots may remain Chinese.

Reference screenshot 1Reference screenshot 2Reference screenshot 3Reference screenshot 4Reference screenshot 5Reference screenshot 6Reference screenshot 7Reference screenshot 8Reference screenshot 9Reference screenshot 10Reference screenshot 11

Acceptance Checklist ​

ItemExpected Result
Card platformAPI address, account, and secret are configured correctly.
Add SIM cardBasic card information is synchronized after entering the ICCID.
Card statusStatus, traffic, and package information can be refreshed.
Device bindingThe card is bound automatically after the device reports its ICCID.
Traffic alarmA notification is triggered when the threshold is exceeded.
Scheduled syncThe scheduled task synchronizes card information periodically.

FAQ ​

Failed to add a card ​

Check the card platform API whitelist, account credentials, whether the ICCID exists, and whether the carrier platform has opened its API.

No binding after the device reports ICCID ​

Check the iccid and cardPlatformId fields in the /info/post payload, and whether the platform can synchronize the card.

Traffic data not synchronized ​

Check the scheduled task status, card platform API availability, server IP whitelist, and API rate limiting.

Alarm not sent ​

Check the alarm threshold, notified users, and email or notification channel configuration.

Development Entry ​

TypePath Or APIDescription
Frontend pagevue3/src/views/iot/cardCard platform, card overview, and SIM card list.
Backend APICard management APIsCard platform and SIM card management.
Backend extensionICardPlatformFactoryServiceIntegration of new card platforms.
Configuration classCardPlatformConfigContentCard platform authentication parameters.
Database tablesiot_card, iot_card_platformSIM cards and platform configuration.

FastBee | fastbee.cn