11.07.2015 Views

UNIVERSITI TEKNOLOGI MALAYSIA - FKE - UTM

UNIVERSITI TEKNOLOGI MALAYSIA - FKE - UTM

UNIVERSITI TEKNOLOGI MALAYSIA - FKE - UTM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

38In case of there’s no occurrence of null character in PDU message, a uniquebyte (0xFF) is inserted at Num of Null Char column instead of 0x00. This is toavoid the introduction of Null character again into the message. For example:Before:4024411297510E0C8EBE (no occurrence of Null Character)After Process:FF 4024411297510E0C8EBE4.3.4 Modifying the Events Generated by A300During the operation of the A300, there are events generated when theEvent Generation Condition are met. So, I need to include the events that can begenerated into my sourcecode. Originally from the sourcecode BSmart given, thereare already events written which used for the b’AT original purpose that is for fleetmanagement and anti-car theft. My job now is to create some new events so that itcan be used for agriculture monitoring.The events that had been added are listed in Table 4.5 and Table 4.6.MsgEventIDEvent/Trigger Priority GenerateCondition0x6E Set_TemperatureThreshold_Ev H Receive SetTemperatureThresholdCommand, ID0x6E0x6D Set_Inp4IButtPollTine_Ev H Receive SetInp4 Ibutt PollTimeCommand, IDOutputDataPackettoSend0x100x020x3C0x100x02Output DataPacketDescribtionInfo Data PacketSimplified GPSPacketAll ExtendedParam2Info Data PacketSimplified GPSPacket

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!