Git Product home page Git Product logo

Comments (9)

hathach avatar hathach commented on July 29, 2024 1

default values here https://github.com/adafruit/Adafruit_nRF52_Arduino/blob/master/libraries/Bluefruit52Lib/src/services/BLEDis.cpp#L43

from adafruit_nrf52_arduino.

hathach avatar hathach commented on July 29, 2024

For Firmware version

  • ARDUINO_BSP_VERSION : usually is 3 number e.g 0.2.0 Do you purposely drop the least number ???
  • SD Version is 2.0.1 ( 11.2 is SDK version)

For Software_Rev and Hardware_Rev default values is NULL which mean it is not populated in the DIS

from adafruit_nrf52_arduino.

hathach avatar hathach commented on July 29, 2024

Maybe SD_Version is integrated into SD_NAME as well, and have the bootloader to be 3 number to be consistent e.g 0.4.5,0.5.0,S132v2.0.1 ??

from adafruit_nrf52_arduino.

microbuilder avatar microbuilder commented on July 29, 2024

OK, let's do this: `0.5,S132,2.0.1,0.4.5' = 20 chars ... I prefer another ',' to the 'v' to be consistent, and then they are in a logical order:

  • Bootloader version
  • SoftDevice Family
  • SoftDevice Version
  • BSP Version

from adafruit_nrf52_arduino.

hathach avatar hathach commented on July 29, 2024

no problems, I think bootloader should also be 3 number since we couldn't change 0.5 -> 0.6 since nordic API() use that to indicate whether it is in DFU or not. When we change our customized code, we likely to increase from 0.5.0 to 0.5.1 or so.

PS: the BSP is likely to increase to 0.10.10 so it is 22-24 bytes ??

from adafruit_nrf52_arduino.

hathach avatar hathach commented on July 29, 2024

I think we should also make the OTA DIS to be consistent as well for now, it is

  • Manufacturer = Adafruit Industries
  • Model = Bluefruit Feather52 --> drop to simply Feather52 only
  • There is no firmware rev now, it should contain only bootloader + SD e.g 0.5.0,S132,2.0.1 (omit the Arduino BSP version)

from adafruit_nrf52_arduino.

microbuilder avatar microbuilder commented on July 29, 2024

Ack, you're right. OK ... the BSP actually isn't SUPER important since that only goes into user code anyway, the bootloader and SD are the most important since those are hard coded and can't be easily changed by the user.

Lets just display:

  • BOOTLOADER (x.x.xx)
  • SD Family (S132)
  • SD Version (xx.xx.xx)

So: x.x.xx,Sxxx,xx.xx.xx = 20 bytes

from adafruit_nrf52_arduino.

hathach avatar hathach commented on July 29, 2024

Got it, then

  • we should change Model in application to Bluefruit Feather52 as well ??
  • ARDUINO BSP VERSION can be default value for Software Chars. User can change it if they like :)

from adafruit_nrf52_arduino.

microbuilder avatar microbuilder commented on July 29, 2024

Arduino BSP as default 'Software Char' seems like a good idea, yes.

from adafruit_nrf52_arduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.