Memory Map Initial Concept

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Memory Map Initial Concept

'Neal Singh
Administrator
FRAM density 4Mb (512Kx8) 0x000000 0x3E8000
The Web download will have an Address and a packet of data. This would enable data to be downloaded for 1 items structure or several limited by the MQTT packet size
Memory Map Concept
Description Starting @ Ending  @ #ofBytes QTY
Setup Config Data 0x000000 0x0003E8 1000 1000 characters
GAP     500  
Tag Structure (12 Bytes) 0x0001FA 0x0034BC 12000 1000 Tags
GAP     50  
Attendant info 0x0034EE 0x003782 660 30 Attendant
GAP     50  
Driver info 0x0037B4 0x004114 2400 100 Drivers
GAP     50  
Vehicle info 0x004146 0x00BE46   1000 Vehicles
GAP     50  
Stock items        
GAP     50  
Transaction Queue        
Tag Structure (sample)
Tag CRC (1 byte) Tag # (6Bytes) TagType (1 Byte) Status (1Byte) Total Bytes
0x8C 00006545BC30 A,D,V Active/ Blocked 12Byte
         
Att info
Att name (12 Bytes) Employer # (6 Bytes) Rights (1byte) Total Bytes
John Smith 123456 1 20
Driver info
Driver name (12 Bytes) Employer # (6 Bytes) Rights (1byte) PIN (2Bytes) Total Bytes
Harry Smith 123456 1 1234 21
Vehicle Info
Veh Reg (10Bytes) Description (15Bytes) Fueling Mode(1byte) Rights(1byte) Fuel Grade(1byte) Fuel type(1byte) Total bytes
GFH456GP Blue Nissan Van 1 1 0 1 29
Stock items
Stock Code(6ytes) BarCode (14Bytes) Description (20Bytes) Price (6 bytes) VatCode (1byte)  
123456 04009900376570 Fanta Orange 330ml 12.55 A  
Transaction Queue
Datetime(8 Bytes) Transaction#(4Bytes) Item (code) 14Byte Amount (6Byte) Vat Amount (4Bytes)  
  4CB1        

Memory Map Concept.xlsx (15K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Memory Map Initial Concept

juanchigarin
Administrator
Between Vehicle Info and Stock info is added the Account info structure with their address, like is described here: http://development-juan-projects.133534.n8.nabble.com/Administration-of-the-Tag-via-the-Web-DB-and-Command-0xFF-tp42.html