Advertisement
Guest User

bglib debug buffer length

a guest
Dec 30th, 2014
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  mType : 128,
  2.  tType : 0,
  3.  payloadHighBits : 0,
  4.  cID : 0,
  5.  cClass : 6,
  6.  payloadLowBits : 42,
  7.  payload : <Buffer d0 00 4f ae 49 de 43 cc 01 ff 1f 02 01 06 03 02 04 19 17 ff f9 00 13 d9 59 00 00
  8. c4 77 16 00 03 cf 1b 26 91 97 88 c4 9f 61 bd>,
  9.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  10. Mode) { [compiled code] },
  11.  getByteArray : function (callback) { [compiled code] }
  12. }
  13. added packet:  {
  14.  packetMode : 1,
  15.  mType : 128,
  16.  tType : 0,
  17.  payloadHighBits : 0,
  18.  cID : 0,
  19.  cClass : 6,
  20.  payloadLowBits : 42,
  21.  payload : <Buffer ce 00 64 64 a6 14 cd e1 01 ff 1f 02 01 06 03 02 04 19 17 ff f9 00 13 da 59 00 00
  22. 2f 1c 12 00 03 ce 1a 7a ef 60 8e f9 b4 cd b6>,
  23.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  24. Mode) { [compiled code] },
  25.  getByteArray : function (callback) { [compiled code] }
  26. }
  27. added packet:  {
  28.  packetMode : 1,
  29.  mType : 128,
  30.  tType : 0,
  31.  payloadHighBits : 0,
  32.  cID : 0,
  33.  cClass : 6,
  34.  payloadLowBits : 42,
  35.  payload : <Buffer c7 00 4f ae 49 de 43 cc 01 ff 1f 02 01 06 03 02 04 19 17 ff f9 00 13 d9 59 00 00
  36. c4 77 16 00 03 cf 1b d1 91 97 88 c4 9f 61 bd>,
  37.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  38. Mode) { [compiled code] },
  39.  getByteArray : function (callback) { [compiled code] }
  40. }
  41. added packet:  {
  42.  packetMode : 1,
  43.  mType : 128,
  44.  tType : 0,
  45.  payloadHighBits : 0,
  46.  cID : 0,
  47.  cClass : 6,
  48.  payloadLowBits : 42,
  49.  payload : <Buffer cf 00 64 64 a6 14 cd e1 01 ff 1f 02 01 06 03 02 04 19 17 ff f9 00 13 da 59 00 00
  50. 2f 1c 12 00 03 ce 1a 25 ef 60 8e f9 b4 cd b6>,
  51.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  52. Mode) { [compiled code] },
  53.  getByteArray : function (callback) { [compiled code] }
  54. }
  55. added packet:  {
  56.  packetMode : 1,
  57.  mType : 128,
  58.  tType : 0,
  59.  payloadHighBits : 0,
  60.  cID : 0,
  61.  cClass : 6,
  62.  payloadLowBits : 41,
  63.  payload : <Buffer ce 00 4f ae 49 de 43 cc 01 ff 1e 02 01 06 1a ff 4c 00 02 15 5d 34 12 11 61 a9 42
  64. cb 9d 8a 67 03 2c dd 47 b0 00 00 00 00 bc>,
  65.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  66. Mode) { [compiled code] },
  67.  getByteArray : function (callback) { [compiled code] }
  68. }
  69. added packet:  {
  70.  packetMode : 1,
  71.  mType : 128,
  72.  tType : 0,
  73.  payloadHighBits : 0,
  74.  cID : 0,
  75.  cClass : 6,
  76.  payloadLowBits : 41,
  77.  payload : <Buffer c8 00 64 64 a6 14 cd e1 01 ff 1e 02 01 06 1a ff 4c 00 02 15 3a 35 cf 7f c4 13 4a
  78. 21 ae 83 ec 13 f8 15 45 8b 00 00 00 00 bd>,
  79.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  80. Mode) { [compiled code] },
  81.  getByteArray : function (callback) { [compiled code] }
  82. }
  83. added packet:  {
  84.  packetMode : 1,
  85.  mType : 128,
  86.  tType : 0,
  87.  payloadHighBits : 0,
  88.  cID : 0,
  89.  cClass : 6,
  90.  payloadLowBits : 41,
  91.  payload : <Buffer d0 00 4f ae 49 de 43 cc 01 ff 1e 02 01 06 1a ff 4c 00 02 15 5d 34 12 11 61 a9 42
  92. cb 9d 8a 67 03 2c dd 47 b0 00 00 00 00 bc>,
  93.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  94. Mode) { [compiled code] },
  95.  getByteArray : function (callback) { [compiled code] }
  96. }
  97. added packet:  {
  98.  packetMode : 1,
  99.  mType : 128,
  100.  tType : 0,
  101.  payloadHighBits : 0,
  102.  cID : 0,
  103.  cClass : 6,
  104.  payloadLowBits : 42,
  105.  payload : <Buffer c6 00 4f ae 49 de 43 cc 01 ff 1f 02 01 06 03 02 04 19 17 ff f9 00 13 d9 59 00 00
  106. c4 77 16 00 03 cf 1b d1 91 97 88 c4 9f 61 bd>,
  107.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  108. Mode) { [compiled code] },
  109.  getByteArray : function (callback) { [compiled code] }
  110. }
  111. added packet:  {
  112.  packetMode : 1,
  113.  mType : 128,
  114.  tType : 0,
  115.  payloadHighBits : 0,
  116.  cID : 0,
  117.  cClass : 6,
  118.  payloadLowBits : 42,
  119.  payload : <Buffer cf 00 64 64 a6 14 cd e1 01 ff 1f 02 01 06 03 02 04 19 17 ff f9 00 13 da 59 00 00
  120. 30 1c 12 00 03 ce 1a 25 73 fb 1b 84 22 29 20>,
  121.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  122. Mode) { [compiled code] },
  123.  getByteArray : function (callback) { [compiled code] }
  124. }
  125. added packet:  {
  126.  packetMode : 1,
  127.  mType : 128,
  128.  tType : 0,
  129.  payloadHighBits : 0,
  130.  cID : 0,
  131.  cClass : 6,
  132.  payloadLowBits : 41,
  133.  payload : <Buffer c8 00 64 64 a6 14 cd e1 01 ff 1e 02 01 06 1a ff 4c 00 02 15 3a 35 cf 7f c4 13 4a
  134. 21 ae 83 ec 13 f8 15 45 8b 00 00 00 00 bd>,
  135.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  136. Mode) { [compiled code] },
  137.  getByteArray : function (callback) { [compiled code] }
  138. }
  139. added packet:  {
  140.  packetMode : 1,
  141.  mType : 128,
  142.  tType : 0,
  143.  payloadHighBits : 0,
  144.  cID : 0,
  145.  cClass : 6,
  146.  payloadLowBits : 42,
  147.  payload : <Buffer ce 00 4f ae 49 de 43 cc 01 ff 1f 02 01 06 03 02 04 19 17 ff f9 00 13 d9 59 00 00
  148. c5 77 16 00 03 cf 1b 7a 6c e9 02 b5 e7 63 a7>,
  149.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  150. Mode) { [compiled code] },
  151.  getByteArray : function (callback) { [compiled code] }
  152. }
  153. added packet:  {
  154.  packetMode : 1,
  155.  mType : 128,
  156.  tType : 0,
  157.  payloadHighBits : 0,
  158.  cID : 0,
  159.  cClass : 6,
  160.  payloadLowBits : 41,
  161.  payload : <Buffer ce 00 64 64 a6 14 cd e1 01 ff 1e 02 01 06 1a ff 4c 00 02 15 3a 35 cf 7f c4 13 4a
  162. 21 ae 83 ec 13 f8 15 45 8b 00 00 00 00 bd>,
  163.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  164. Mode) { [compiled code] },
  165.  getByteArray : function (callback) { [compiled code] }
  166. }
  167. added packet:  {
  168.  packetMode : 1,
  169.  mType : 128,
  170.  tType : 0,
  171.  payloadHighBits : 0,
  172.  cID : 0,
  173.  cClass : 6,
  174.  payloadLowBits : 42,
  175.  payload : <Buffer d0 00 4f ae 49 de 43 cc 01 ff 1f 02 01 06 03 02 04 19 17 ff f9 00 13 d9 59 00 00
  176. c5 77 16 00 03 cf 1b 26 6c e9 02 b5 e7 63 a7>,
  177.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  178. Mode) { [compiled code] },
  179.  getByteArray : function (callback) { [compiled code] }
  180. }
  181. added packet:  {
  182.  packetMode : 1,
  183.  mType : 128,
  184.  tType : 0,
  185.  payloadHighBits : 0,
  186.  cID : 0,
  187.  cClass : 6,
  188.  payloadLowBits : 42,
  189.  payload : <Buffer cf 00 64 64 a6 14 cd e1 01 ff 1f 02 01 06 03 02 04 19 17 ff f9 00 13 da 59 00 00
  190. 30 1c 12 00 03 ce 1a 25 73 fb 1b 84 22 29 20>,
  191.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  192. Mode) { [compiled code] },
  193.  getByteArray : function (callback) { [compiled code] }
  194. }
  195. added packet:  {
  196.  packetMode : 1,
  197.  mType : 128,
  198.  tType : 0,
  199.  payloadHighBits : 0,
  200.  cID : 0,
  201.  cClass : 6,
  202.  payloadLowBits : 42,
  203.  payload : <Buffer ce 00 4f ae 49 de 43 cc 01 ff 1f 02 01 06 03 02 04 19 17 ff f9 00 13 d9 59 00 00
  204. c5 77 16 00 03 cf 1b 7a 6c e9 02 b5 e7 63 a7>,
  205.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  206. Mode) { [compiled code] },
  207.  getByteArray : function (callback) { [compiled code] }
  208. }
  209. added packet:  {
  210.  packetMode : 1,
  211.  mType : 128,
  212.  tType : 0,
  213.  payloadHighBits : 0,
  214.  cID : 0,
  215.  cClass : 6,
  216.  payloadLowBits : 42,
  217.  payload : <Buffer c8 00 64 64 a6 14 cd e1 01 ff 1f 02 01 06 03 02 04 19 17 ff f9 00 13 da 59 00 00
  218. 30 1c 12 00 03 ce 1a d1 73 fb 1b 84 22 29 20>,
  219.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  220. Mode) { [compiled code] },
  221.  getByteArray : function (callback) { [compiled code] }
  222. }
  223. added packet:  {
  224.  packetMode : 1,
  225.  mType : 128,
  226.  tType : 0,
  227.  payloadHighBits : 0,
  228.  cID : 0,
  229.  cClass : 6,
  230.  payloadLowBits : 41,
  231.  payload : <Buffer ce 00 64 64 a6 14 cd e1 01 ff 1e 02 01 06 1a ff 4c 00 02 15 3a 35 cf 7f c4 13 4a
  232. 21 ae 83 ec 13 f8 15 45 8b 00 00 00 00 bd>,
  233.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  234. Mode) { [compiled code] },
  235.  getByteArray : function (callback) { [compiled code] }
  236. }
  237. added packet:  {
  238.  packetMode : 1,
  239.  mType : 128,
  240.  tType : 0,
  241.  payloadHighBits : 0,
  242.  cID : 0,
  243.  cClass : 6,
  244.  payloadLowBits : 42,
  245.  payload : <Buffer d0 00 4f ae 49 de 43 cc 01 ff 1f 02 01 06 03 02 04 19 17 ff f9 00 13 d9 59 00 00
  246. c5 77 16 00 03 cf 1b 26 6c e9 02 b5 e7 63 a7>,
  247.  constructor : function Packet(messageType, technologyType, commandClass, commandID, payload, packet
  248. Mode) { [compiled code] },
  249.  getByteArray : function (callback) { [compiled code] }
  250. }
  251. We have an event!
  252. Packet with invalid class
  253. Popping packet with class:  21
  254. We have a response!
  255. Class:  0 command 0
  256. RangeError: Trying to access beyond buffer length
  257. We have an event!
  258. We have an event!
  259. We have an event!
  260. We have an event!
  261. We have an event!
  262. We have an event!
  263. We have an event!
  264. We have an event!
  265. We have an event!
  266. We have an event!
  267. We have an event!
  268. We have an event!
  269. We have an event!
  270. We have an event!
  271. We have an event!
  272. We have an event!
  273. We have an event!
  274. We have an event!
  275. We have an event!
  276. We have an event!
  277. We have an event!
  278. We have an event!
  279. We have an event!
  280. We have an event!
  281. We have an event!
  282. We have an event!
  283. We have an event!
  284. We have an event!
  285. We have an event!
  286. We have an event!
  287. We have an event!
  288. We have an event!
  289. We have an event!
  290. We have an event!
  291. We have an event!
  292. We have an event!
  293. We have an event!
  294. We have an event!
  295. We have an event!
  296. We have an event!
  297. We have an event!
  298. We have an event!
  299. We have an event!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement