mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-09 16:24:02 +00:00
edit bwPacket Methods get and set
This commit is contained in:
parent
1ba76cc66b
commit
36781fc254
6 changed files with 42 additions and 42 deletions
|
|
@ -53,12 +53,12 @@ class Pocsag:
|
|||
logging.debug("found valid POCSAG")
|
||||
|
||||
bwPacket = packet.Packet()
|
||||
bwPacket.setField("mode", "pocsag")
|
||||
bwPacket.setField("bitrate", bitrate)
|
||||
bwPacket.setField("ric", ric)
|
||||
bwPacket.setField("subric", subric)
|
||||
bwPacket.setField("subricText", subricText)
|
||||
bwPacket.setField("message", message)
|
||||
bwPacket.set("mode", "pocsag")
|
||||
bwPacket.set("bitrate", bitrate)
|
||||
bwPacket.set("ric", ric)
|
||||
bwPacket.set("subric", subric)
|
||||
bwPacket.set("subricText", subricText)
|
||||
bwPacket.set("message", message)
|
||||
|
||||
logging.debug(bwPacket)
|
||||
return bwPacket
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue