Sevenstax / FreeV2G

Python based Host MPU Application for the use with 8DEVICES WHITE-BEET Embedded ISO15118 Module modules to realize IEC/ISO15118 and DIN70121 conform charging communication between electric vehicles (PEV) and elevtric vehicle supply equipment (EVSE). FreeV2G can e.g. been used with a Raspberry Pi.
Other
57 stars 26 forks source link

Question: How can I change the IPv6 address #293

Closed fjdicker closed 7 months ago

fjdicker commented 8 months ago

What steps are necessary to change the IPv6 address of the access point? I use 0x42 (Set IPv6 Configuration) to add a new address, that works. But I can't delete the original address with this command. Do I have to stop the interface before changing IPv6 address and restart it again after changes are applied?

lho-stx commented 8 months ago

Hey @fjdicker,

normally you do not need to stop the interface.

I set a custom IPv6 on a PEV (station) successfully with the following commands:

  1. delete the existing MAC address by sending modID = 0x05 subID = 0x42 interface = 0x01 command = 0x00 IP = ip of my device
  2. double check if the deletion was successful by sending modID = 0x05 subID = 0x43 interface = 0x01 index = 0x00. This leads to response code 0xff (internal error). This is expected, because no IP address is set at the moment.
  3. send a new MAC address by sending modID = 0x05 subID = 0x42 interface = 0x01 command = 0x01 IP = ip of my device.
  4. double check if adding the IP address was successful by sending modID = 0x05 subID = 0x43 interface = 0x01 index = 0x00.

If you follow these steps, does it work for you?

If not, can you tell me which IP address you want to set?

Best regards, lho

fjdicker commented 8 months ago

Hi @lho-stx I will check that, thanks for your prompt reply.

Kind Regards F.J.

github-actions[bot] commented 7 months ago

This issue has been marked as stale because it has been open for 14 days with no activity. Please update this issue or it will be closed in the next 7 days.

github-actions[bot] commented 7 months ago

This issue was closed because it has been inactive for 7 days since being marked as stale. If your issue still persists, feel free to reopen!