- Dec 12, 2022
- 357
- 2
i use this code to send beacon data
B4X:
this line
bb.Append(Array As Byte(0, 9, 0, 6, 0xb5))
write Major and minor values
first two bytes are first and second byte of Major
my question is how to convert int value to present first and second byte
in other way if i want to send major value 300 what i should write
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
this line
bb.Append(Array As Byte(0, 9, 0, 6, 0xb5))
write Major and minor values
first two bytes are first and second byte of Major
my question is how to convert int value to present first and second byte
in other way if i want to send major value 300 what i should write
برای دیدن لینک ها باید ثبت نام کنید