ISC Protocol Specification
ISC Protocol Specification
REVISION 1.0.0
Document status
Revision Draft
Date 27-Mar-18
Revision History
Revision Date Author Modification
1.0.0 31-Mar-18 Truong Nguyen Initial version
1|Page
Copyright © 2018 Bach Khoa Energy Ltd. All rights reserved
ISC PROTOCOL SPECIFICATION
Table of content
1. Abstraction……………………………………………………………………………………..
2. Overview…………………………………………………………………………………………
3. PDU…………………………………………………………………………………………………
4. PHY…………………………………………………………………………………………………
5. Network Management…………………………………………………………………….
6. Functional Description…………………………………………………………………….
7. Timing Characteristics……………………………………………………………………..
2|Page
Copyright © 2018 Bach Khoa Energy Ltd. All rights reserved
ISC PROTOCOL SPECIFICATION
1. Abstraction
T.B.D
2. Overview
3|Page
Copyright © 2018 Bach Khoa Energy Ltd. All rights reserved
ISC PROTOCOL SPECIFICATION
ISC protocol is an application protocol layer that is used to control sensor node in IoT network. This
protocol layer is run on physical layer that is RS232 as synchronous base.
3. PDU
2 bytes 1 byte = LENGTH_VAL -1 1 byte
START LENGTH PDU CRC
DID Service ID Service Parameter
- LENGTH_VAL: value of length field. This indicate length of total following data including 1 CRC byte.
- Any data is transfer in little endian mode.
4. PHY
Request Frame
2 bytes 1 byte = LENGTH_VAL 1 byte
START LENGTH PDU CRC
0xA5A5 DID Service ID Service Parameter
Respond Frame
2 bytes 1 byte = LENGTH_VAL 1 byte
START LENGTH PDU CRC
0x5A5A DID Service ID Respond Parameter
4|Page
Copyright © 2018 Bach Khoa Energy Ltd. All rights reserved
ISC PROTOCOL SPECIFICATION
5. Network Management
Overview
ISC protocol works as Master – Slave model. Sensor nodes always serves as Slave. Any request is started from
Master. Slaves could send asynchronous event without asking from Master when there is any unexpected
circumstance appears on its internal structure.
Transaction
A transaction is defined as 1 close loop communication. A transaction is finished when a request message is send
success and got the feedback (NRC or positive respond code with corresponding data).
A transaction is always initiated from Master device. And a transaction is finished when Slave device gives respond
to Master.
As synchronous EVENT
Asynchronous event is sent from Slave device to Source device. An asynchronous event appears when there is any
unexpected accident or behavior occurs inside Slave and it need to be reported to other monitoring (E.g. Master
device).
Asynchronous event can be sent event bus is BUSY (one transaction is on-going).
Asynchronous event is cleared when internal accident/unexpected behavior is cleared by a request message or it is
acknowledged from Master.
5|Page
Copyright © 2018 Bach Khoa Energy Ltd. All rights reserved
ISC PROTOCOL SPECIFICATION
In software level, the number of accidents/unexpected behaviors are counted. The counter increases when new
accident/unexpected behaviors come and decreases when it got one acknowledged from Master.
When asynchronous appears on Slave, it will be send out in cyclic mode with period T_ASY (milliseconds). The cyclic
activity is stopped when event counter is zero.
When bus is in IDLE mode, Master device will send bus status message using Bus acquisition service in cyclic mode
with following parameter is network status. Period of bus status is T_IDLE. See timing characteristic to indicate this
period.
Device management
When new device is connected to network, it does not know network status. Therefore it waits for network status
update from Master. If there is no master, device will lock its network by network manager forever.
Any device in network requires a device ID. Device will send service $22 to ask for joining network when bus is in
IDLE mode. Device IDs are managed by Master node.
To prevent the Bus confliction, asynchronous event notification is blocked if device have not joined to network yet.
When asynchronous event notification is blocked, event counter can be increase maximum to 255 (0xFF) and stop
counting from here until it is reset by request from Master (after joining network).
6. Functional Description
Table 1 Service functions
6|Page
Copyright © 2018 Bach Khoa Energy Ltd. All rights reserved
ISC PROTOCOL SPECIFICATION
7. Timing characteristics
Table 2 Timing characteristics table
7|Page
Copyright © 2018 Bach Khoa Energy Ltd. All rights reserved