Giter VIP home page Giter VIP logo

Comments (8)

mashbridge avatar mashbridge commented on July 26, 2024

Every Eddystone frame shares a common structure and each frame type is encapsulated in the Service Data data type.

I'll let @mmocny and @roywant talk about the URL-specific questions.

from eddystone.

arpit-ag avatar arpit-ag commented on July 26, 2024

Actually for first question I want to know the PDU type(like ADV_IND / ADV_NONCONN_IND / ADV_SCAN_IND / ADV_DIRECT_IND) used for each Eddystone frame in BLE Advertisement packet Header.
Does all uses the same PDU type?
And also can you clarify is FLAGS AD mandatory (which will depend on what PDU Types is used in Advertisement Header ) in each Eddystone Frame or its upto the developer.

from eddystone.

mashbridge avatar mashbridge commented on July 26, 2024

We've intentionally left the specific flags undefined. Some implementations may want to remain connectable so they're always configurable, others may want to interleave frames with scan responses, others may want to lock things and be non-connectable after provisioning. While we have advice (like preferring NONCONN in dense 2.4 GHz environments etc.) we feel implementors know their own use cases better than we do.

from eddystone.

arpit-ag avatar arpit-ag commented on July 26, 2024

Thanks a lot @mashbridge for clarifying.

from eddystone.

arpit-ag avatar arpit-ag commented on July 26, 2024

@mashbridge
I have another doubt. Since EddyStone -UID says:
The length of this frame is fixed and takes up the full 31 bytes of the ADV packet. The value of the Service Data Length byte must be 0x17(23 B). Existing UID implementations that truncate the frame to omit the RFU bytes will use 0x15(21B).
This calculation comes only if FLAGS AD is included in Frame.
According to BT4.2 CSSv6 we can skip FLAGS AD if we use ADV_NOCONN_IND. So is it mandatory to use the Length specified in the Specs.
Same is the case of EddyStone-TLM.

from eddystone.

davidgyoung avatar davidgyoung commented on July 26, 2024

I had not noticed the statement that the length must be 0x17. If this is true, how is it possible to have shorter URLs that do not use all the bytes available in the PDU?

from eddystone.

mashbridge avatar mashbridge commented on July 26, 2024

@arpit0410 Good catch. An earlier revision of the spec did fix the flags etc. but this should speak only w/r/t the service data PDU.
@davidgyoung This is just for UID frames. URL frames are have variable length.

from eddystone.

arpit-ag avatar arpit-ag commented on July 26, 2024

@mashbridge So Is there any Plan to Use those 3 Bytes that we get from FLAGS AD which won't be there in ADV_NOCNN_IND PDUs. In that case spec needs to change these Service Data Length Value to allow use of full use of 31 Bytes available.

from eddystone.

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.