Skip to content

Adding GN Beacons#14

Merged
JordiMarias merged 1 commit intomasterfrom
feature/gn-beacons
Feb 20, 2026
Merged

Adding GN Beacons#14
JordiMarias merged 1 commit intomasterfrom
feature/gn-beacons

Conversation

@daniel-ulied-i2cat
Copy link
Collaborator

Additionally fixing LDM issues where only if all parameters in a LDM subscription where set a result would be given.

Additionally fixing LDM issues where only if all parameters in a LDM subscription where set a result would be given.
Copy link
Collaborator

@JordiMarias JordiMarias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just small comments

if self.ca_basic_service_ldm is not None:
self.ca_basic_service_ldm.add_provider_data_to_ldm(cam)
self.logging.debug(
self.logging.info(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be kept as debug logging. Technically, if you run the whole stack you don't expect to get an INFO print every time you receive a CAM message. This should be on a debug level.


self.btp_router.btp_data_request(request)
self.logging.debug(
self.logging.info(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as before

denm = self.denm_coder.decode(btp_indication.data)
self.feed_ldm(denm)
self.logging.debug(
self.logging.info(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

)
self.btp_router.btp_data_request(request)
self.logging.debug(
self.logging.info(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

self.vru_basic_service_ldm.add_provider_data_to_ldm(vam)
self.logging.debug("Recieved message; %s", vam)
self.logging.debug(
self.logging.info(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

)
self.btp_router.btp_data_request(request)
self.logging.debug(
self.logging.info(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

Encoded ST
"""
return (self.value << 3) << 8*7
return (self.value << 2) << 8*7
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has this been validated with wireshark?

@JordiMarias JordiMarias merged commit 737d977 into master Feb 20, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants