meshtastic 0.0.162 → 0.0.163
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/meshtastic/serial_hal_pb.rb +18 -0
- data/lib/meshtastic/version.rb +1 -1
- data/spec/lib/meshtastic/serial_hal_pb_spec.rb +6 -0
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ea6139c6f3ebf6f4038b9c532cd339508374a7507c47fd02d94728eb370ee80
|
|
4
|
+
data.tar.gz: d4cdd6b9af12a415de29bddec60e79770259b902fe18ef87ff90e5b0a654a7d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 974c418fe4bb447671c58ca9efa5e133c6c07e4d67b0bf461bb3a8863c2fb1a8fd2cddb188ce71d8fc3b4a0746e0b01b92228b3f984e3480c350ad590c958cab
|
|
7
|
+
data.tar.gz: 76d4d42d33c15502334143c2775925fa4c1d0b15e0adc3e2ba5eab1f3b8f4b543b25eb3d16669392279bbe53a353325931a875eb09c1f03cfb06174334f4bfbe
|
data/Gemfile
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: meshtastic/serial_hal.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
descriptor_data = "\n\x1bmeshtastic/serial_hal.proto\x12\nmeshtastic\"\xa2\x02\n\x10SerialHalCommand\x12\x16\n\x0etransaction_id\x18\x01 \x01(\r\x12/\n\x04type\x18\x02 \x01(\x0e\x32!.meshtastic.SerialHalCommand.Type\x12\x0b\n\x03pin\x18\x03 \x01(\r\x12\r\n\x05value\x18\x04 \x01(\r\x12\x0c\n\x04mode\x18\x05 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\"\x8c\x01\n\x04Type\x12\t\n\x05UNSET\x10\x00\x12\x0c\n\x08PIN_MODE\x10\x01\x12\x11\n\rDIGITAL_WRITE\x10\x02\x12\x10\n\x0c\x44IGITAL_READ\x10\x03\x12\x14\n\x10\x41TTACH_INTERRUPT\x10\x04\x12\x14\n\x10\x44\x45TACH_INTERRUPT\x10\x05\x12\x10\n\x0cSPI_TRANSFER\x10\x06\x12\x08\n\x04NOOP\x10\x07\"\xcc\x01\n\x11SerialHalResponse\x12\x16\n\x0etransaction_id\x18\x01 \x01(\r\x12\x34\n\x06result\x18\x02 \x01(\x0e\x32$.meshtastic.SerialHalResponse.Result\x12\r\n\x05value\x18\x03 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x12\r\n\x05\x65rror\x18\x05 \x01(\t\"=\n\x06Result\x12\x06\n\x02OK\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x0f\n\x0b\x42\x41\x44_REQUEST\x10\x02\x12\x0f\n\x0bUNSUPPORTED\x10\x03\x42_\n\x14org.meshtastic.protoB\tSerialHalZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3"
|
|
9
|
+
|
|
10
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
|
12
|
+
|
|
13
|
+
module Meshtastic
|
|
14
|
+
SerialHalCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.SerialHalCommand").msgclass
|
|
15
|
+
SerialHalCommand::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.SerialHalCommand.Type").enummodule
|
|
16
|
+
SerialHalResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.SerialHalResponse").msgclass
|
|
17
|
+
SerialHalResponse::Result = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.SerialHalResponse.Result").enummodule
|
|
18
|
+
end
|
data/lib/meshtastic/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: meshtastic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.163
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 0day Inc.
|
|
@@ -197,14 +197,14 @@ dependencies:
|
|
|
197
197
|
requirements:
|
|
198
198
|
- - '='
|
|
199
199
|
- !ruby/object:Gem::Version
|
|
200
|
-
version: 3.10.
|
|
200
|
+
version: 3.10.2
|
|
201
201
|
type: :runtime
|
|
202
202
|
prerelease: false
|
|
203
203
|
version_requirements: !ruby/object:Gem::Requirement
|
|
204
204
|
requirements:
|
|
205
205
|
- - '='
|
|
206
206
|
- !ruby/object:Gem::Version
|
|
207
|
-
version: 3.10.
|
|
207
|
+
version: 3.10.2
|
|
208
208
|
- !ruby/object:Gem::Dependency
|
|
209
209
|
name: rvm
|
|
210
210
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -309,6 +309,7 @@ files:
|
|
|
309
309
|
- lib/meshtastic/remote_hardware_pb.rb
|
|
310
310
|
- lib/meshtastic/rtttl.rb
|
|
311
311
|
- lib/meshtastic/rtttl_pb.rb
|
|
312
|
+
- lib/meshtastic/serial_hal_pb.rb
|
|
312
313
|
- lib/meshtastic/serial_interface.rb
|
|
313
314
|
- lib/meshtastic/storeforward.rb
|
|
314
315
|
- lib/meshtastic/storeforward_pb.rb
|
|
@@ -360,6 +361,7 @@ files:
|
|
|
360
361
|
- spec/lib/meshtastic/remote_hardware_spec.rb
|
|
361
362
|
- spec/lib/meshtastic/rtttl_pb_spec.rb
|
|
362
363
|
- spec/lib/meshtastic/rtttl_spec.rb
|
|
364
|
+
- spec/lib/meshtastic/serial_hal_pb_spec.rb
|
|
363
365
|
- spec/lib/meshtastic/serial_interface_spec.rb
|
|
364
366
|
- spec/lib/meshtastic/storeforward_pb_spec.rb
|
|
365
367
|
- spec/lib/meshtastic/storeforward_spec.rb
|