MWSDK(TWELITE SDK)
MONO WIRELESS INC.
MWSDK_EN
MWSDK_EN
  • TWELITE SDK (MWSDK) manual
  • Introduction
    • TWELITE SDK Terms of Use
    • Support and response
    • Mono Wireless Software License Agreement
    • Structure of TWELITE SDK
  • Get the latest version
    • TWELITE SDK revision history
  • How to use TWELITE SDK
    • Install TWELITE SDK (MWSDK)
    • Use with VSCode
    • folder structure
    • How to build from the command line
    • About build definitions
      • About Makefile
      • about Version.mk
      • bin file naming conventions
    • program firmware
      • Wiring for firmware programming
      • tweterm.py
  • TWELIET NET API overview
    • Terms
    • TWELITE NET library structure
    • TWENET working flow
      • flow: System start-up
      • flow: Main loop
      • flow: Wireless events
      • flow: Hardware interrupts/events
      • flow: User-defined event processing function
    • Structure of the source code
    • Modules
    • Wireless packets
      • Maximum packet length
      • Addressing conventions
      • Application ID
    • About the network
      • SimpleNet
        • Transmit
        • Receive
      • RelayNet
        • Implementation of the parent device
        • Implementation of repeaters
        • Implementing a child device (MININODES)
        • NB beacon system connection
        • Address of the relay network
        • Static relay with fixed host address
  • TWELITE NET API references
    • The callback functions
      • cbAppColdStart()
      • cbAppWarmStart()
      • cbToCoNet_vMain()
      • cbToCoNet_vRxEvent()
      • cbToCoNet_vTxEvent()
      • cbToCoNet_vNwkEvent()
      • cbToCoNet_vHwEvent()
      • cbToCoNet_u8HwInt()
    • TWELITE NET functions
      • ToCoNet_vMacStart()
      • ToCoNet_bMacTxReq()
      • ToCoNet_u32GetSerial()
      • ToCoNet_u32GetRand()
      • ToCoNet_vSleep()
      • ToCoNet_vDebugInit()
      • ToCoNet_vDebugLevel()
      • ToCoNet_u32GetVersion()
      • ToCoNet_bRegisterAesKey()
      • ToCoNet_vRfConfig()
      • ToCoNet_vChConfig()
      • ToCoNet_Tx_vProcessEventQueue()
      • ToCoNet_u16RcCalib()
    • RelayNet API
      • functions
        • ToCoNet_Nwk_bInit()
        • ToCoNet_Nwk_bStart()
        • ToCoNet_Nwk_bPause()
        • ToCoNet_Nwk_bResume()
        • ToCoNet_Nwk_bTx()
      • Structure
        • tsTxDataApp (relay net)
        • tsRxDataApp (relay net)
        • tsToCoNet_Nwk_Context
      • LayerTree net
        • ToCoNet_NwkLyTr_psConfig()
        • ToCoNet_NwkLyTr_psConfig_MiniNodes()
        • tsToCoNet_NwkLyTr_Context
    • typedef, frequently used macros
    • Structures
      • sToCoNet_AppContext
      • tsRxDataApp
      • tsTxDataApp
    • TWELITE NET macros
      • ToCoNet_REG_MOD_ALL()
      • utils.h
    • User defined event handling functions
      • State
      • Events
      • ToCoNet_Event API
        • ToCoNet_Event_Register_State_Machine()
        • ToCoNet_Event_Process()
        • ToCoNet_Event_SetState()
        • ToCoNet_Event_vKeepStateOnRamHoldSleep()
        • ToCoNet_Event_u32TickFrNewState()
    • Module library
      • ENERGY SCAN
      • NB SCAN
    • PRSEV library
    • global variables
      • uint32 u32TickCount_ms
      • sToCoNet_AppContext (static variable)
    • PANIC
  • HW API reference
    • Peripherals
      • ADC
        • adc.c
      • DIO
      • TickTimer
      • UART
        • SERIAL library
          • SERIAL_vInit()
          • SERIAL_vInitEx()
          • SERIAL_bRxQueueEmpty()
          • SERIAL_i16RxChar()
          • SERIAL_vFlush()
          • tsSerialPortSetup
          • tsUartOpt
        • fprintf library
          • vfPrintf()
          • vPutChar()
          • tsFILE
      • Timer
        • Timer library
          • vTimerConfig()
          • vTimerStart()
          • vTimerStop()
          • vTimerDisable()
          • tsTimerContext
      • WakeTimer
      • I2C
      • SPI
    • Flash, EEPROM
      • EEPROM
      • Flash
  • Utils references, others.
    • ByteQueue
    • u8CCITT8()
    • SPRINTF library
    • BTM library (consecutive reading) DIO input
GitBook提供
このページ内
  • MWSDK2020_05
  • 更新内容
  • 000manifest
  • MWSDK2020_04
  • TWELITE NET 1.2.0->1.3.0 changes
  • TWELITE NET 1.2.0 (2018-05-14)
  1. Get the latest version

TWELITE SDK revision history

前へGet the latest version次へHow to use TWELITE SDK

最終更新 2 年前

The history information for MWSDK2020_05 and later is listed below.

MWSDK2020_05

Updating is recommended if you are using the MWSDK for 2019/12, 2020/04 releases。

更新内容

  • [TWENET] Event queue could get stuck in some cases.

  • [TWENET] There was a case that the serial port output did not work after sleep recovery.

  • [TWENET] Clearing the queue for sending and receiving wireless packets after recovering from sleep is now the default behavior.

  • [TWENET] Added support for changing the parameters of the duplicate checker DUPCHK module.

  • [MWX] Duplicate checker duplicate_checker was not initialized properly and did not remove duplicates as expected.

  • [MWX] The implementation of format() has been made less model-dependent. The number of arguments is limited to 8 when 64-bit arguments are included.

  • MWSDK and below (excluding the Tools folder) are stored in the GitHub repository.

000manifest

NAME: MWSDK2020_05
DATE: 2020-05-29

COMMON FILES: https://github.com/monowireless/MWSDK_COMMON/releases/tag/MWSDK2020_05
  CHIP LIBRARY VERSION: SW4063V1416
  TWENET (TWELITE NET) C LIBRARY VERSION: L1303
  MWX C++ LIBRARY VERSION: https://github.com/monowireless/mwx/releases/tag/0.1.3
  TWESETTINGS LIBRARY: https://github.com/monowireless/twesettings/releases/tag/0.2.3

MWSDK2020_04

The environment has been changed to support TWELITE STAGE.

  • Changed to Makefile, which has less description. ※ You will need to rewrite the Makefile from the previous project.

  • Added support for the mwx library.

TWELITE NET 1.2.0->1.3.0 changes

  • Addressed a problem where Utils/Source/serial.[ch], uart.[ch]UART would sometimes behave abnormally (garbled characters, etc.) when flushed.

  • Implemented to suppress the disappearance of TickTimer and ADC completion events. The following variables can be disabled by setting them to 0 during cbAppColdStart(FALSE). volatile uint32 _u32_INT_ticktimer; volatile uint32 _u32_INT_adc_comp;

  • It judges whether the queue for packet transmission requests is full or not, and returns an error if it is full.

  • Fixed an issue where random number generation did not resume during WarmStart.

  • Add pvExtraData to tsEvent structure (fix to make PRSEV state transition machine work with mwx library)

  • volatile uint32 u32TickCount_ms(added volatile)

  • Added bool_t _b_cpu_doze_dirty variable to control CPU_Doze in the main loop; if set to TRUE, it will skip the main loop DOZE.

  • Modified some function header definitions to be able to be referenced externally in order to use the mwx library (user not disclosed: PRSEV: event-related, internal structures, etc.)

  • Header file maintenance (extern "C") for mwx library usage

  • Utils/Source/utils.[ch]: Fixed the PWM setting so that the DUTY tick can be set in detail. By setting a value to structure member u16duty_max, the tick value can be set to a value other than 1024. If the tick value is1024,4096,16384の場合に除算実行の替わりにビットシフトにするようにした。

  • Fixed some related code to use MSB of sToCoNet_AppContext.u32ChMask internally.

  • Fixed a code in the internal channel change function that could change to the current set channel in the source code.

TWELITE NET 1.2.0 (2018-05-14)

  • Changed toolchain from SDK toolchain for TWELITE BLUE to toolchain for TWELITE RED

    • For Windows, it is cygwin to msys.

  • Changed the recommended development environment from eclipse to VSCode.

  • Changed the library set to 1.2.0 (since v1.0.6)

    • Support for TWELITE RED

    • Organize the parameters of make(make TWLIET={BLUE|RED})

    • Changed the method of determining the upper node in relay from active search to passive method using periodic packets (NB beacons) (implemented in App_Tag repeater)

    • Add sToCoNet_AppContext.u8Osc32Kmode to use 32K oscillator

    • Transmission function to the network outside the application ID (experimental implementation)

    • Other minor corrections

      • Improved timestamp update method for duplicate checker (ToCoNet_USE_MOD_DUPCHK)

      • Fixed a rare problem where the channel would not switch properly.

LogoMWSDK_COMMON/ReleaseNotes.md at master · monowireless/MWSDK_COMMONGitHub