Skip to content

How to transmit additional data via BeaconTransmitter? #4

@fAns1k

Description

@fAns1k

i use your sample project to test beacon transmission, but i couldn't send any additional data.
i tried to do this like

Beacon beacon = new Beacon.Builder()
                    .setId1("2F234454-CF6D-4A0F-ADF2-F4911BA9FFA6")
                    .setId2("1")
                    .setId3("2")
                    .setManufacturer(0x0000) // Choose a number of 0x00ff or less as some devices cannot detect beacons with a manufacturer code > 0x00ff
                    .setTxPower(-59)
                    .setDataFields(Arrays.asList(new Long[]{1231231238L, 100500L}))
                    .build();

but in the other device i got just 6 from dataFields array. Devices id1 were the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions