Commit eb58fa9b authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman 💥
Browse files

Updated dependencies

parent 459b284b
......@@ -3,6 +3,8 @@
## 1.0.3
* Fixed a bug where crossband digipeating would send the packet out on the same TNC rather than the intended TNC.
* Added configurable packet echoing to determine which packets get echoed onto the screen.
* Updated all depdendencies to their latest.
## 1.0.2
......@@ -20,4 +22,4 @@
## 1.0.0
* Initial release
\ No newline at end of file
* Initial release
......@@ -42,6 +42,147 @@ To install this gem onto your local machine, run <code>bundle exec rake install<
version number in +app_info.rb+, and then run <code>bundle exec rake release</code>, which will create a git tag for the version,
push git commits and tags, and push the +.gem+ file to {rubygems.org}[https://rubygems.org].
== Consistent ports
It is important that the ports associated with the TNCs be consistent between boots. To do this first get the info using `lsusb -v`,
for example you might get the following:
```
Bus 001 Device 005: ID 0403:d011 Future Technology Devices International, Ltd SCS Position-Tracker/TNC
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0403 Future Technology Devices International, Ltd
idProduct 0xd011 SCS Position-Tracker/TNC
bcdDevice 6.00
iManufacturer 1 SCS
iProduct 2 SCS Tracker / DSP TNC
iSerial 3 PT5690Y
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0020
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port / Mobile Action MA-8910P
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x067b Prolific Technology, Inc.
idProduct 0x2303 PL2303 Serial Port / Mobile Action MA-8910P
bcdDevice 3.00
iManufacturer 1 Prolific Technology Inc.
iProduct 2 USB-Serial Controller
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0027
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x000a 1x 10 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
```
Then add the appropriate rules under `/etc/udev/` to ensure they get a special static symlink. For example for the
above output the udev rule would look as follows.
```
SUBSYSTEM=="tty", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", SYMLINK+="ttyUSB-kenwood"
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="d011", ATTRS{serial}=="PT5690Y", SYMLINK+="ttyUSB-scs"
```
== Links
* {Source on Github}[https://github.com/Syncleus/peak]
......
......@@ -24,12 +24,12 @@ def dump_load_path
end
end
gem 'json', '~> 1.8.3'
gem 'json', '~> 2.5'
gem 'bundler', '~> 1.7'
gem 'bundler', '~> 2.2'
require 'bundler'
gem 'rake', '~> 11.3.0'
gem 'rake', '~> 13.0'
require 'rake/clean'
require 'rake/testtask'
......
......@@ -30,10 +30,11 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']
spec.add_dependency 'colorize', '~> 0.8'
spec.add_dependency 'methadone', '~> 1.9'
spec.add_dependency 'methadone', '~> 2.0'
spec.add_dependency 'apex-aprs', '~> 1.0'
spec.add_development_dependency 'bundler', '~> 1.7'
spec.add_development_dependency 'rake', '~> 11.3'
spec.add_development_dependency 'rdoc', '~> 4.2'
spec.add_development_dependency 'aruba', '~> 0.14'
spec.add_dependency 'aprs_is', '~> 0.1'
spec.add_development_dependency 'bundler', '~> 2.2'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rdoc', '~> 6.3'
spec.add_development_dependency 'aruba', '~> 2.0'
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment