Skip to content

Commit

Permalink
Add previously untracked files
Browse files Browse the repository at this point in the history
  • Loading branch information
fredlcore committed Dec 26, 2023
1 parent 752c943 commit db8732c
Show file tree
Hide file tree
Showing 14 changed files with 569 additions and 0 deletions.
27 changes: 27 additions & 0 deletions BSB_LAN/src/BSB/keywords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#######################################
# Syntax Coloring Map for NewSoftSerial
#######################################

#######################################
# Datatypes (KEYWORD1)
#######################################

NewSoftSerial KEYWORD1

#######################################
# Methods and Functions (KEYWORD2)
#######################################

begin KEYWORD2
end KEYWORD2
read KEYWORD2
available KEYWORD2
isListening KEYWORD2
overflow KEYWORD2
flush KEYWORD2
listen KEYWORD2

#######################################
# Constants (LITERAL1)
#######################################

22 changes: 22 additions & 0 deletions BSB_LAN/src/Base64/keywords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#######################################
# Syntax Coloring Map For Base64
#######################################

#######################################
# Datatypes (KEYWORD1)
#######################################

Base64 KEYWORD1

#######################################
# Methods and Functions (KEYWORD2)
#######################################

encode KEYWORD2
decode KEYWORD2
encodedLength KEYWORD2
decodedLength KEYWORD2

#######################################
# Constants (LITERAL1)
#######################################
54 changes: 54 additions & 0 deletions BSB_LAN/src/DallasTemperature/keywords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#######################################
# Syntax Coloring Map For DallasTemperature
#######################################

#######################################
# Datatypes (KEYWORD1)
#######################################
DallasTemperature KEYWORD1
OneWire KEYWORD1
AlarmHandler KEYWORD1
DeviceAddress KEYWORD1

#######################################
# Methods and Functions (KEYWORD2)
#######################################

setResolution KEYWORD2
getResolution KEYWORD2
getTempC KEYWORD2
toFahrenheit KEYWORD2
getTempF KEYWORD2
getTempCByIndex KEYWORD2
getTempFByIndex KEYWORD2
setWaitForConversion KEYWORD2
getWaitForConversion KEYWORD2
requestTemperatures KEYWORD2
requestTemperaturesByAddress KEYWORD2
requestTemperaturesByIndex KEYWORD2
isParasitePowerMode KEYWORD2
begin KEYWORD2
getDeviceCount KEYWORD2
getAddress KEYWORD2
validAddress KEYWORD2
isConnected KEYWORD2
readScratchPad KEYWORD2
writeScratchPad KEYWORD2
readPowerSupply KEYWORD2
setHighAlarmTemp KEYWORD2
setLowAlarmTemp KEYWORD2
getHighAlarmTemp KEYWORD2
getLowAlarmTemp KEYWORD2
resetAlarmSearch KEYWORD2
alarmSearch KEYWORD2
hasAlarm KEYWORD2
toCelsius KEYWORD2
processAlarmss KEYWORD2
setAlarmHandlers KEYWORD2
defaultAlarmHandler KEYWORD2
calculateTemperature KEYWORD2

#######################################
# Constants (LITERAL1)
#######################################

38 changes: 38 additions & 0 deletions BSB_LAN/src/OneWire/keywords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#######################################
# Syntax Coloring Map For OneWire
#######################################

#######################################
# Datatypes (KEYWORD1)
#######################################

OneWire KEYWORD1

#######################################
# Methods and Functions (KEYWORD2)
#######################################

reset KEYWORD2
write_bit KEYWORD2
read_bit KEYWORD2
write KEYWORD2
write_bytes KEYWORD2
read KEYWORD2
read_bytes KEYWORD2
select KEYWORD2
skip KEYWORD2
depower KEYWORD2
reset_search KEYWORD2
search KEYWORD2
crc8 KEYWORD2
crc16 KEYWORD2
check_crc16 KEYWORD2

#######################################
# Instances (KEYWORD2)
#######################################


#######################################
# Constants (LITERAL1)
#######################################
85 changes: 85 additions & 0 deletions BSB_LAN/src/PubSubClient/CHANGES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
2.8
* Add setBufferSize() to override MQTT_MAX_PACKET_SIZE
* Add setKeepAlive() to override MQTT_KEEPALIVE
* Add setSocketTimeout() to overide MQTT_SOCKET_TIMEOUT
* Added check to prevent subscribe/unsubscribe to empty topics
* Declare wifi mode prior to connect in ESP example
* Use `strnlen` to avoid overruns
* Support pre-connected Client objects

2.7
* Fix remaining-length handling to prevent buffer overrun
* Add large-payload API - beginPublish/write/publish/endPublish
* Add yield call to improve reliability on ESP
* Add Clean Session flag to connect options
* Add ESP32 support for functional callback signature
* Various other fixes

2.4
* Add MQTT_SOCKET_TIMEOUT to prevent it blocking indefinitely
whilst waiting for inbound data
* Fixed return code when publishing >256 bytes

2.3
* Add publish(topic,payload,retained) function

2.2
* Change code layout to match Arduino Library reqs

2.1
* Add MAX_TRANSFER_SIZE def to chunk messages if needed
* Reject topic/payloads that exceed MQTT_MAX_PACKET_SIZE

2.0
* Add (and default to) MQTT 3.1.1 support
* Fix PROGMEM handling for Intel Galileo/ESP8266
* Add overloaded constructors for convenience
* Add chainable setters for server/callback/client/stream
* Add state function to return connack return code

1.9
* Do not split MQTT packets over multiple calls to _client->write()
* API change: All constructors now require an instance of Client
to be passed in.
* Fixed example to match 1.8 api changes - dpslwk
* Added username/password support - WilHall
* Added publish_P - publishes messages from PROGMEM - jobytaffey

1.8
* KeepAlive interval is configurable in PubSubClient.h
* Maximum packet size is configurable in PubSubClient.h
* API change: Return boolean rather than int from various functions
* API change: Length parameter in message callback changed
from int to unsigned int
* Various internal tidy-ups around types
1.7
* Improved keepalive handling
* Updated to the Arduino-1.0 API
1.6
* Added the ability to publish a retained message

1.5
* Added default constructor
* Fixed compile error when used with arduino-0021 or later

1.4
* Fixed connection lost handling

1.3
* Fixed packet reading bug in PubSubClient.readPacket

1.2
* Fixed compile error when used with arduino-0016 or later


1.1
* Reduced size of library
* Added support for Will messages
* Clarified licensing - see LICENSE.txt


1.0
* Only Quality of Service (QOS) 0 messaging is supported
* The maximum message size, including header, is 128 bytes
* The keepalive interval is set to 30 seconds
* No support for Will messages
20 changes: 20 additions & 0 deletions BSB_LAN/src/PubSubClient/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2008-2020 Nicholas O'Leary

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
36 changes: 36 additions & 0 deletions BSB_LAN/src/PubSubClient/keywords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#######################################
# Syntax Coloring Map For PubSubClient
#######################################

#######################################
# Datatypes (KEYWORD1)
#######################################

PubSubClient KEYWORD1

#######################################
# Methods and Functions (KEYWORD2)
#######################################

connect KEYWORD2
disconnect KEYWORD2
publish KEYWORD2
publish_P KEYWORD2
beginPublish KEYWORD2
endPublish KEYWORD2
write KEYWORD2
subscribe KEYWORD2
unsubscribe KEYWORD2
loop KEYWORD2
connected KEYWORD2
setServer KEYWORD2
setCallback KEYWORD2
setClient KEYWORD2
setStream KEYWORD2
setKeepAlive KEYWORD2
setBufferSize KEYWORD2
setSocketTimeout KEYWORD2

#######################################
# Constants (LITERAL1)
#######################################
3 changes: 3 additions & 0 deletions BSB_LAN/src/SdFat/DigitalIO/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Selected files from the DigitalIO library.

https://github.com/greiman/DigitalIO
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
SyncArduinoClock is a Processing sketch that responds to Arduino requests for
time synchronization messages.

The portIndex must be set the Serial port connected to Arduino.

Download TimeSerial.pde onto Arduino and you should see the time
message displayed when you run SyncArduinoClock in Processing.
The Arduino time is set from the time on your computer through the
Processing sketch.
34 changes: 34 additions & 0 deletions BSB_LAN/src/Time/keywords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#######################################
# Syntax Coloring Map For Time
#######################################

#######################################
# Datatypes (KEYWORD1)
#######################################
time_t KEYWORD1
#######################################
# Methods and Functions (KEYWORD2)
#######################################
now KEYWORD2
second KEYWORD2
minute KEYWORD2
hour KEYWORD2
day KEYWORD2
month KEYWORD2
year KEYWORD2
isAM KEYWORD2
isPM KEYWORD2
weekday KEYWORD2
setTime KEYWORD2
adjustTime KEYWORD2
setSyncProvider KEYWORD2
setSyncInterval KEYWORD2
timeStatus KEYWORD2
TimeLib KEYWORD2
#######################################
# Instances (KEYWORD2)
#######################################

#######################################
# Constants (LITERAL1)
#######################################
15 changes: 15 additions & 0 deletions BSB_LAN/src/WiFiSpi/CHANGES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
0.2.3 (2019-02-18)
* SSL Client connection, verifySSL function, protocol 0.2.3
0.2.0 (2019-01-27)
* Protocol changed. Status shortened to 2 bytes, added XOR check. Data messages checked by a CRC8.
* Developed mechanism of confirming and repeating messages.
* Added hardware reset support (hardReset command)
* Added support for external 8266 circuit guarding the GPIO15 (SS pin) on reset
0.1.4 (2019-01-24)
* Fixed delays in SPI protocol
* Added softReset and protocolVersion commands (might be added earlier)
0.1.1 (2018-07-03)
* Added parameter to init function (SPI max speed)
* Enabled STM32F1 architecture although there will be a lot of work yet
0.1.0 (2017-03-14)
* First version for testing
Loading

0 comments on commit db8732c

Please sign in to comment.