Title: Unable to disable PCAN_LISTEN_ONLY after CAN_Initialize has been called · Issue #8 · mac-can/PCBUSB-Library · GitHub
Open Graph Title: Unable to disable PCAN_LISTEN_ONLY after CAN_Initialize has been called · Issue #8 · mac-can/PCBUSB-Library
X Title: Unable to disable PCAN_LISTEN_ONLY after CAN_Initialize has been called · Issue #8 · mac-can/PCBUSB-Library
Description: If PCAN_LISTEN_ONLY is enabled before CAN_Initialize has been called, then trying to disable it subsequently, as follows, has no effect. int option = PCAN_PARAMETER_OFF; status = CAN_SetValue(PCAN_CHANNEL, PCAN_LISTEN_ONLY, &option, size...
Open Graph Description: If PCAN_LISTEN_ONLY is enabled before CAN_Initialize has been called, then trying to disable it subsequently, as follows, has no effect. int option = PCAN_PARAMETER_OFF; status = CAN_SetValue(PCAN_...
X Description: If PCAN_LISTEN_ONLY is enabled before CAN_Initialize has been called, then trying to disable it subsequently, as follows, has no effect. int option = PCAN_PARAMETER_OFF; status = CAN_SetValue(PCAN_...
Opengraph URL: https://github.com/mac-can/PCBUSB-Library/issues/8
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to disable PCAN_LISTEN_ONLY after CAN_Initialize has been called","articleBody":"If `PCAN_LISTEN_ONLY` is enabled before `CAN_Initialize` has been called, then trying to disable it subsequently, as follows, has no effect.\r\n\r\n```\r\nint option = PCAN_PARAMETER_OFF;\r\nstatus = CAN_SetValue(PCAN_CHANNEL, PCAN_LISTEN_ONLY, \u0026option, sizeof(option));\r\n```\r\n\r\nEven though the parameter will be reported as OFF when `CAN_GetValue` is called, the `PCAN_LISTEN_ONLY` appears to be still active.\r\n\r\nThis problem is observed with \"libPCBUSB.0.11.dylib\" on macOS Catalina (Intel).\r\n\r\nTest setup:\r\n- PCAN-USB FD\r\n- one node on bus, periodically transmitting a message containing a byte that increments at each transmit\r\n\r\n`PCAN_LISTEN_ONLY` mode being active can be observed, when messages are received, but the counter is no longer increasing, suggesting that the PCAN device is not acknowledging the message.\r\n","author":{"url":"https://github.com/codeskin","@type":"Person","name":"codeskin"},"datePublished":"2022-03-14T13:48:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/8/PCBUSB-Library/issues/8"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:623f3d5f-976d-ad60-b0c7-ecbb8222af3d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 803E:1C781E:2AFC43:3C2DD6:6A4BC4B3 |
| html-safe-nonce | e4c622f7528c082969664aa42adf6aebb4fd7359ec45230d86ce6b7f9e8a3349 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDNFOjFDNzgxRToyQUZDNDM6M0MyREQ2OjZBNEJDNEIzIiwidmlzaXRvcl9pZCI6IjU4MjYxMjQ0ODc0MjcwODEzOTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 551f1c476dd935304ea8f69514cc48f27c653b91d50e66a5b392dbb924410217 |
| hovercard-subject-tag | issue:1168405245 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/mac-can/PCBUSB-Library/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e0552d4bf0fe02e36db9b66884db1d07a48b8427a618ff69c630940f169ae94a/mac-can/PCBUSB-Library/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e0552d4bf0fe02e36db9b66884db1d07a48b8427a618ff69c630940f169ae94a/mac-can/PCBUSB-Library/issues/8 |
| og:image:alt | If PCAN_LISTEN_ONLY is enabled before CAN_Initialize has been called, then trying to disable it subsequently, as follows, has no effect. int option = PCAN_PARAMETER_OFF; status = CAN_SetValue(PCAN_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | codeskin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7 |
| turbo-cache-control | no-preview |
| go-import | github.com/mac-can/PCBUSB-Library git https://github.com/mac-can/PCBUSB-Library.git |
| octolytics-dimension-user_id | 61076724 |
| octolytics-dimension-user_login | mac-can |
| octolytics-dimension-repository_id | 275540406 |
| octolytics-dimension-repository_nwo | mac-can/PCBUSB-Library |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 275540406 |
| octolytics-dimension-repository_network_root_nwo | mac-can/PCBUSB-Library |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 58b8f89190447502561829f30862aa0a99d53367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width