Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on Physical Address. Manual Entry #34

Closed
ascillato opened this issue Mar 8, 2018 · 3 comments
Closed

Question on Physical Address. Manual Entry #34

ascillato opened this issue Mar 8, 2018 · 3 comments

Comments

@ascillato
Copy link
Contributor

Hi,

Setting the Physical Address by code was intended to be like the following? Or there is another way?

  // Set Physical KNX Address of ESP KNX (Optional)
  address_t physaddr;
  physaddr.pa.area=1;
  physaddr.pa.line=1;
  physaddr.pa.member=1;
  knx.physical_address_set(physaddr);
@envy
Copy link
Owner

envy commented Mar 8, 2018

Yes, either that way or like this:

knx.physical_address_set(GA_to_address(1, 2, 3));

@ascillato
Copy link
Contributor Author

ascillato commented Mar 8, 2018 via email

@envy
Copy link
Owner

envy commented Mar 8, 2018

Oops, yeah sorry. I confused group and physical addresses for a moment there...

I will add a PA_to_address method for this.

@envy envy closed this as completed in 6337645 Mar 8, 2018
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

No branches or pull requests

2 participants