botsense  3.2.0
RoadNarrows Client-Server Proxied Services Framework
bsI2CMsgs.py File Reference

File: bsI2CMsgs.py. More...

Go to the source code of this file.

Classes

class  BotSense.bsI2CMsgs.BsI2CMsgId
 
class  BotSense.bsI2CMsgs.BsI2CNetMsgs
 

Variables

 BotSense.bsI2CMsgs.NMFVAL_LEN_MAX_VECTOR = nmBase.NMVectorMaxCount
 maximum vector length
 
dictionary BotSense.bsI2CMsgs.BsI2CMsgDefReqRead
 ReqRead Message Definition. More...
 
dictionary BotSense.bsI2CMsgs.BsI2CMsgDefReqTrans
 ReqTrans Message Definition. More...
 
dictionary BotSense.bsI2CMsgs.BsI2CMsgDefRspRead
 RspRead Message Definition. More...
 
dictionary BotSense.bsI2CMsgs.BsI2CMsgDefReqWrite
 ReqWrite Message Definition. More...
 
dictionary BotSense.bsI2CMsgs.BsI2CMsgDefRspWrite
 RspWrite Message Definition. More...
 
dictionary BotSense.bsI2CMsgs.BsI2CMsgDefReqScan
 ReqScan Message Definition. More...
 
dictionary BotSense.bsI2CMsgs.BsI2CMsgDefRspScan
 RspScan Message Definition. More...
 
dictionary BotSense.bsI2CMsgs.BsI2CSetMsgDef
 BsI2C Message Definition Set Dictionary. More...
 

Detailed Description

File: bsI2CMsgs.py.

BotSense bsProxy server - client raw I2C NetMsgs XML Definition

Warning
This file was auto-generated on 2018.08.10 13:54:23 from the NetMsgs XML specification bsI2CMsgs.xml.
Copyright:
(C) 2018. RoadNarrows LLC (http://www.roadnarrows.com) All Rights Reserved

Definition in file bsI2CMsgs.py.

Variable Documentation

dictionary BotSense.bsI2CMsgs.BsI2CMsgDefReqRead
Initial value:
1 = {
2  'fielddef': [
3  {'fid':1, 'ftype':'H', 'max_count':1, 'name':'addr', },
4  {
5  'fid': 2,
6  'ftype': 'B',
7  'max': NMFVAL_LEN_MAX_VECTOR,
8  'max_count': 1,
9  'min': 1,
10  'name': 'readlen',
11  },
12  ],
13  'ftype': '{',
14  'max_count': 2,
15  'msgid': BsI2CMsgId.ReqRead,
16  'name': 'ReqRead',
17 }

ReqRead Message Definition.

Definition at line 55 of file bsI2CMsgs.py.

dictionary BotSense.bsI2CMsgs.BsI2CMsgDefReqScan
Initial value:
1 = {
2  'fielddef': [ ],
3  'ftype': '{',
4  'max_count': 0,
5  'msgid': BsI2CMsgId.ReqScan,
6  'name': 'ReqScan',
7 }

ReqScan Message Definition.

Definition at line 166 of file bsI2CMsgs.py.

dictionary BotSense.bsI2CMsgs.BsI2CMsgDefReqTrans
Initial value:
1 = {
2  'fielddef': [
3  {'fid':1, 'ftype':'H', 'max_count':1, 'name':'addr', },
4  {
5  'fid': 2,
6  'ftype': '[',
7  'max_count': nmBase.NMVectorMaxCount,
8  'name': 'writebuf',
9  'vdef': {
10  'fid': nmBase.NMFIdNone,
11  'ftype': 'B',
12  'max_count': 1,
13  'name': 'writebuf_item',
14  },
15  },
16  {
17  'fid': 3,
18  'ftype': 'B',
19  'max': NMFVAL_LEN_MAX_VECTOR,
20  'max_count': 1,
21  'min': 1,
22  'name': 'readlen',
23  },
24  ],
25  'ftype': '{',
26  'max_count': 3,
27  'msgid': BsI2CMsgId.ReqTrans,
28  'name': 'ReqTrans',
29 }

ReqTrans Message Definition.

Definition at line 75 of file bsI2CMsgs.py.

dictionary BotSense.bsI2CMsgs.BsI2CMsgDefReqWrite
Initial value:
1 = {
2  'fielddef': [
3  {'fid':1, 'ftype':'H', 'max_count':1, 'name':'addr', },
4  {
5  'fid': 2,
6  'ftype': '[',
7  'max_count': nmBase.NMVectorMaxCount,
8  'name': 'writebuf',
9  'vdef': {
10  'fid': nmBase.NMFIdNone,
11  'ftype': 'B',
12  'max_count': 1,
13  'name': 'writebuf_item',
14  },
15  },
16  ],
17  'ftype': '{',
18  'max_count': 2,
19  'msgid': BsI2CMsgId.ReqWrite,
20  'name': 'ReqWrite',
21 }

ReqWrite Message Definition.

Definition at line 130 of file bsI2CMsgs.py.

dictionary BotSense.bsI2CMsgs.BsI2CMsgDefRspRead
Initial value:
1 = {
2  'fielddef': [
3  {
4  'fid': 1,
5  'ftype': '[',
6  'max_count': nmBase.NMVectorMaxCount,
7  'name': 'readbuf',
8  'vdef': {
9  'fid': nmBase.NMFIdNone,
10  'ftype': 'B',
11  'max_count': 1,
12  'name': 'readbuf_item',
13  },
14  },
15  ],
16  'ftype': '{',
17  'max_count': 1,
18  'msgid': BsI2CMsgId.RspRead,
19  'name': 'RspRead',
20 }

RspRead Message Definition.

Definition at line 107 of file bsI2CMsgs.py.

dictionary BotSense.bsI2CMsgs.BsI2CMsgDefRspScan
Initial value:
1 = {
2  'fielddef': [
3  {
4  'fid': 1,
5  'ftype': '[',
6  'max_count': nmBase.NMVectorMaxCount,
7  'name': 'scan',
8  'vdef': {
9  'fid': nmBase.NMFIdNone,
10  'ftype': 'H',
11  'max_count': 1,
12  'name': 'scan_item',
13  },
14  },
15  ],
16  'ftype': '{',
17  'max_count': 1,
18  'msgid': BsI2CMsgId.RspScan,
19  'name': 'RspScan',
20 }

RspScan Message Definition.

Definition at line 176 of file bsI2CMsgs.py.

dictionary BotSense.bsI2CMsgs.BsI2CMsgDefRspWrite
Initial value:
1 = {
2  'fielddef': [
3  {'fid':1, 'ftype':'B', 'max_count':1, 'name':'byteswritten', },
4  ],
5  'ftype': '{',
6  'max_count': 1,
7  'msgid': BsI2CMsgId.RspWrite,
8  'name': 'RspWrite',
9 }

RspWrite Message Definition.

Definition at line 154 of file bsI2CMsgs.py.

dictionary BotSense.bsI2CMsgs.BsI2CSetMsgDef
Initial value:
1 = {
2  BsI2CMsgId.ReqRead: BsI2CMsgDefReqRead,
3  BsI2CMsgId.ReqScan: BsI2CMsgDefReqScan,
4  BsI2CMsgId.ReqTrans: BsI2CMsgDefReqTrans,
5  BsI2CMsgId.ReqWrite: BsI2CMsgDefReqWrite,
6  BsI2CMsgId.RspRead: BsI2CMsgDefRspRead,
7  BsI2CMsgId.RspScan: BsI2CMsgDefRspScan,
8  BsI2CMsgId.RspWrite: BsI2CMsgDefRspWrite,
9 }

BsI2C Message Definition Set Dictionary.

Definition at line 199 of file bsI2CMsgs.py.