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

File: bsSerialMsgs.py. More...

Go to the source code of this file.

Classes

class  BotSense.bsSerialMsgs.BsSerialMsgId
 
class  BotSense.bsSerialMsgs.BsSerialNetMsgs
 

Variables

 BotSense.bsSerialMsgs.NMFVAL_LEN_MAX_VECTOR = nmBase.NMVectorMaxCount
 maximum vector length
 
dictionary BotSense.bsSerialMsgs.BsSerialMsgDefReqOpenArgs
 ReqOpenArgs Message Definition. More...
 
dictionary BotSense.bsSerialMsgs.BsSerialMsgDefReqRead
 ReqRead Message Definition. More...
 
dictionary BotSense.bsSerialMsgs.BsSerialMsgDefReqTrans
 ReqTrans Message Definition. More...
 
dictionary BotSense.bsSerialMsgs.BsSerialMsgDefRspRead
 RspRead Message Definition. More...
 
dictionary BotSense.bsSerialMsgs.BsSerialMsgDefReqWrite
 ReqWrite Message Definition. More...
 
dictionary BotSense.bsSerialMsgs.BsSerialMsgDefRspWrite
 RspWrite Message Definition. More...
 
dictionary BotSense.bsSerialMsgs.BsSerialSetMsgDef
 BsSerial Message Definition Set Dictionary. More...
 

Detailed Description

File: bsSerialMsgs.py.

BotSense bsProxy server - client raw serial NetMsgs XML Definition

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

Definition in file bsSerialMsgs.py.

Variable Documentation

dictionary BotSense.bsSerialMsgs.BsSerialMsgDefReqOpenArgs
Initial value:
1 = {
2  'fielddef': [
3  {'fid':1, 'ftype':'I', 'max_count':1, 'name':'baudrate', },
4  {'fid':2, 'ftype':'B', 'max_count':1, 'name':'bytesize', },
5  {'fid':3, 'ftype':'c', 'max_count':1, 'name':'parity', },
6  {'fid':4, 'ftype':'B', 'max_count':1, 'name':'stopbits', },
7  {'fid':5, 'ftype':'?', 'max_count':1, 'name':'rtscts', },
8  {'fid':6, 'ftype':'?', 'max_count':1, 'name':'xonxoff', },
9  ],
10  'ftype': '{',
11  'max_count': 6,
12  'msgid': BsSerialMsgId.ReqOpenArgs,
13  'name': 'ReqOpenArgs',
14 }

ReqOpenArgs Message Definition.

Definition at line 54 of file bsSerialMsgs.py.

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

ReqRead Message Definition.

Definition at line 71 of file bsSerialMsgs.py.

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

ReqTrans Message Definition.

Definition at line 90 of file bsSerialMsgs.py.

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

ReqWrite Message Definition.

Definition at line 144 of file bsSerialMsgs.py.

dictionary BotSense.bsSerialMsgs.BsSerialMsgDefRspRead
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': BsSerialMsgId.RspRead,
19  'name': 'RspRead',
20 }

RspRead Message Definition.

Definition at line 121 of file bsSerialMsgs.py.

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

RspWrite Message Definition.

Definition at line 167 of file bsSerialMsgs.py.

dictionary BotSense.bsSerialMsgs.BsSerialSetMsgDef
Initial value:
1 = {
2  BsSerialMsgId.ReqOpenArgs: BsSerialMsgDefReqOpenArgs,
3  BsSerialMsgId.ReqRead: BsSerialMsgDefReqRead,
4  BsSerialMsgId.ReqTrans: BsSerialMsgDefReqTrans,
5  BsSerialMsgId.ReqWrite: BsSerialMsgDefReqWrite,
6  BsSerialMsgId.RspRead: BsSerialMsgDefRspRead,
7  BsSerialMsgId.RspWrite: BsSerialMsgDefRspWrite,
8 }

BsSerial Message Definition Set Dictionary.

Definition at line 179 of file bsSerialMsgs.py.