revision history
Minor corrections will not be listed in this revision history, but only in the revision on GitHub. Please cite corrections as necessary.
Updating
After the release of the TWELITE STAGE distribution package, fixes and additions are stored in the GitHub repository. Please replace the location of the distribution package if necessary.
Other updates to the MWSDK may be required. Please refer to the release description at the time of the update; see here for information on updating the MWSDK.
Updating MWX library code
The source code of the library is available on GitHub (https://github.com/monowireless/mwx). To replace the source code of the library, please follow the steps below.
Click on the link for each release to clone the Git file or download the source code in zip format.
Replace the contents of the following folders.
Update before major release
Updated information prior to major releases may be posted on the above link.
0.2.0 - 2022-03-01
changed Wire object that reserves memory in heap area.
changed function name from
G_OCTET()
toG_BYTE()
](api-reference/funcs/utility/byte-array-utils.md to avoid name conflict in utils.h.changed an order of
vAHI_DioInterruptEnable()
in theattachIntDio()
for code efficiency.added secondary network behavior the_twelite.network2 to support universal receiver (receive packets from NWK_LAYERED, NWK_SIMPLE or networkless packets in the same executable code.)
added NWK_LAYERED (At this time, only Parent Node reception is supported.)
introduced MWX_Set_Usder_App_Ver() function to set application version during MWX intitialization, mainly for interactive mode.
added mwx::pnew() to describe placement new simply.
added support of EASTL
added
new[]
operators for EASTL
pre-compled most of source codes in MWX to quicker compile.
fixed: DIO events were being passed on to unrelated ports.
0.1.9 - 2021-12-15
主な改定内容
Added an internal procedure to allow output using Serial class objects in Interactive settings mode. (
Serial._force_Serial_out_during_intaractive_mode()
)
0.1.8 - 2021-09-09
Main revisions
Serial1
port and alternate port were not properly defined.Enabled to change the baud rate of (
Serial
UART0).Added event callbacks to notify received packets (
on_rx_packet()
) and completed transmission (on_tx_comp()
).If you don't define a callback function, you can use the previous procedure.
Wrong definition ID for interactive mode setting
<STG_STD>
and some default values.Added support for changing the default values of channel and logical device IDs in addition to AppID in interactive mode settings
<STG_STD>
.added support for setting the_twelite and
<NWK_SIMPLE>
objects in interactive mode<STG_STD>
object for some settings.added support for setting the default value of the number of retransmissions in
<NWK_SIMPLE>
.Serial
(UART0) input and output from the application is not performed while the interactive mode screen<STG_STD>
is displayed.added
CUE::PIN_SET
,PAL???"":PIN_SET
(Since it is unnatural to usePIN_BTN
for CUEs without buttons)Move namespace of random() to mwx::.
MONOSTICK watchdog setting is now done in 32ms units.
When sleep was performed using
BRD_TWELITE
, the pins were not initialized correctly upon recovery.
Sorry. The following has not been translated.
0.1.7 - 2020-12-03
Major Revisions.
Added board behavior (https://mwx.twelite.info/v/v0.1.7/boards/cue) for TWELITE CUE.
Added method to receive other packets (without network usage) that are not in NWK_SIMPLE format when using NWK_SIMPLE. Add
NWK_SIMPLE::receive_nwkless_pkt()
to initialize NWK_SIMPLE. When using this packet information, use only the TWENET C library layer structure by.get_psRxDataApp()
and the data array obtained by.get_payload()
. Information obtained from other methods of the incoming packet (auto&& rx = the_twelite.receiver.read()
) is undefined.Refine
get_stream_helper()
code and read/write position API.Add EEPROM class object. (https://mwx.twelite.info/v/v0.1.7/api-reference/predefined_objs/eeprom)
Fixed bugs in
smplbuf::get_stream_helper()
.Added pktparser class (https://mwx.twelite.info/v/v0.1.7/api-reference/classes/pktparser)
sample
serparser/pktparser
so that it can be built on other platforms (https://github.com/monowireless/mwx/tree/master/stdio)
0.1.6 - 2020-10-09
Major revisions
Modified so that
div100()
, which calculates the quotient and remainder, can be output to Serial, etc.Changed implementation of
smplbuf<>
array class. The inheritance frommwx::stream
is removed to reduce memory consumption, and a helper class and an inheritance class are defined separately.Added
mwx_printf()
mwx_snprintf()` function.added
the_twelite.stop_watchdog()
andthe_twelite.restart_watchdog()
functions.mwx::stream
maintenance:operator bool()
is obsolete. Disable timeout when.set_timeout(0xff)
is set to 0xff in the read timeout setting. Add definition of<<
operator.Added NOTICE PAL / PCA9632 support (Description https://mwx.twelite.info/v/latest/boards/pal/pal_notice, sample https://github.com/monowireless/Act_samples/tree/master/Unit_using_PAL_NOTICE)
Add scale functions between 8bit and 0..1000 with no division.
Added division by 10,100,1000 (quotient and remainder at the same time)
div10()
,div100()
,div1000()
. Restricted the value range and composed mainly of multiplication and bit shift.Added corresponding methods for encrypted packets.
packet_rx::is_secure_pkt()
: determine if received packet is encrypted or not.STG_STD::u8encmode()
: Obtain encryption setting in interactive mode.STG_STD::pu8enckeystr()
: Obtain encryption key byte sequence in interactive mode.
Serial1: Default port is DIO11(TxD), DIO9(RxD) because they are usually assigned to I2C, though DIO14,15 overlap with I2C in the semiconductor specification.
The calculation of the baud rate is omitted for the main baud rates.
Serial: The proxy functions for
Serial: available()
andread()
are now held only byvoid*
, and the specification memory is reduced by 8 bytes.Add
typedef boolean
.Network: added support for encryption.
The first parameter is the encryption key, and the second parameter is
true
, so that plaintext packets are also received. packets are also received.
Added sensor support for SHT3x and BME280
Sensor: added a mechanism to exchange configuration parameters and status in legacy code (C library wrapper class).
Sensors: I2C address can be specified for SHT3x and BME280.
Configuration: added
hide_items()
. Unnecessary items can be deleted.Added `H/W UTIL menu' to display DI status, I2C probe, and PAL EEPROM contents.
Configuration: Add encryption related menus.
I2C related fixes (to improve compatibility with code implemented using TwoWire class)
Processing of
requestFrom(false)
did not work correctly because there was no code to send the NO_STOP message when processingrequestFrom(false)
.Added
TwoWire
class name alias.Modified not to initialize multiply in
begin()
process.Added
setClock()
method (but it is a dummy function and does nothing).Added
WIRE_CONF::WIRE_? KHZ
added. Added the main configuration values for the bus clock.
0.1.5 - 2020-08-05
Download in bulk
Major revisions
Channel Manager. Implement
chmgr
0.1.4 - 2020-07-29 (MWSDK2020_07_UNOFFICIAL)
Download in bulk
Major revisions.
Addition of
delayMilliseconds()
functionAddition of
digitalReadBitmap()
functionImproved accuracy of
delay()
.Fixed the problem that
Serial1
instance was not definedFixed problem with
Analogue
interrupt handler not being called
0.1.3 - 2020-05-29
Support for MWSDK202020_05
Duplicate checker duplicate_checker was not removed as expected due to incomplete initialization, etc.
The implementation of format() was made less machine-dependent. If 64-bit arguments are included, the number of arguments is limited.
The fix assumes MWSDK2020_05.
Updates are recommended for this fix.
0.1.2 - 2020-04-24
Support for MWSDK2020_04
Fixed initialization problem with Timer0..4
Changed internal processing of mwx::format()
Added experimental code to support interactive mode
This fix assumes MWSDK2020_04.
We recommend an update to this fix.
0.1.1 - 2020-02-28
Fixed problems with handling of relay flags in packets
We recommend an update to this correction.
0.1.0 - 2019-12-23
First release (included in SDL Dec 2019)
最終更新