{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":225647645,"defaultBranch":"master","name":"zephyr","ownerLogin":"rugeGerritsen","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2019-12-03T15:02:51.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/23234783?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1726056798.0","currentOid":""},"activityList":{"items":[{"before":"44073156331f5509e0879c5bb0ccd1789550a7de","after":"526cd4cd542770e26bbf93ec138d6e500d0fb4b2","ref":"refs/heads/bt-conn-create-tests","pushedAt":"2024-09-17T06:19:21.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"tests: Bluetooth: Add some more tests for bt_le_create_conn()\n\nAdds coverage for attempting to connect while already connecting\nor connecting to a device that already exists.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"tests: Bluetooth: Add some more tests for bt_le_create_conn()"}},{"before":"f49a0953b6a4984053cd71f87c570e2f8e75694d","after":"44073156331f5509e0879c5bb0ccd1789550a7de","ref":"refs/heads/bt-conn-create-tests","pushedAt":"2024-09-12T14:13:12.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"tests: Bluetooth: Add some more tests for bt_le_create_conn()\n\nAdds coverage for attempting to connect while already connecting\nor connecting to a device that already exists.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"tests: Bluetooth: Add some more tests for bt_le_create_conn()"}},{"before":"90c16c9832001a7e83107cbd3652dfc9e9ac61d4","after":"f49a0953b6a4984053cd71f87c570e2f8e75694d","ref":"refs/heads/bt-conn-create-tests","pushedAt":"2024-09-12T07:53:18.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"tests: Bluetooth: Add some more tests for bt_le_create_conn()\n\nAdds coverage for attempting to connect while already connecting\nor connecting to a device that already exists.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"tests: Bluetooth: Add some more tests for bt_le_create_conn()"}},{"before":"f6719b1bae8f2ac55b5244fa4bd611e099eb1f31","after":"90c16c9832001a7e83107cbd3652dfc9e9ac61d4","ref":"refs/heads/bt-conn-create-tests","pushedAt":"2024-09-11T12:21:04.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"tests: Bluetooth: Add some more tests for bt_le_create_conn()\n\nAdds coverage for attempting to connect while already connecting\nor connecting to a device that already exists.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"tests: Bluetooth: Add some more tests for bt_le_create_conn()"}},{"before":"7e5fd7eec44a35f19f295be32e8e7c6eb9fc54e5","after":"f6719b1bae8f2ac55b5244fa4bd611e099eb1f31","ref":"refs/heads/bt-conn-create-tests","pushedAt":"2024-09-11T12:19:00.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"tests: Bluetooth: Add some more tests for bt_le_create_conn()\n\nAdds coverage for attempting to connect while already connecting\nor connecting to a device that already exists.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"tests: Bluetooth: Add some more tests for bt_le_create_conn()"}},{"before":null,"after":"7e5fd7eec44a35f19f295be32e8e7c6eb9fc54e5","ref":"refs/heads/bt-conn-create-tests","pushedAt":"2024-09-11T12:13:18.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"tests: Bluetooth: Add some more tests for bt_le_create_conn()\n\nAdds coverage for attempting to connect while already connecting\nor connecting to a device that already exists.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"tests: Bluetooth: Add some more tests for bt_le_create_conn()"}},{"before":null,"after":"4dc7141ddaca267adc4d389b137c778ab4745a17","ref":"refs/heads/fix-sync-timeout","pushedAt":"2024-09-11T08:32:41.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"samples: bluetooth: direction_finding_connectionless_rx: Fix sync timeout\n\nThe sync timeout is in 10 ms units. The sync_create_timeout_ms variable\nalready takes into account that we want to have a timeout of at least\n7 events.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"samples: bluetooth: direction_finding_connectionless_rx: Fix sync tim…"}},{"before":"b2fd94b340a0c10a3969f5ce94e60dc6fda2cd40","after":"20e89f69a9651977b14fbefcc2d13ac74327c008","ref":"refs/heads/doc-concurrent-scan-init","pushedAt":"2024-09-03T12:41:20.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"Bluetooth: Document parallel scanner and initiator param selection\n\nWhen scanning and connecting in parallel with\nCONFIG_BT_SCAN_AND_INITIATE_IN_PARALLEL enabled, a Bluetooth controller\nmay choose different scheduling approaches based upon the provided\nparameters.\n\nNordic's SoftDevice Controller performs better when both roles\nuse the same scan window and scan interval. To help customers\nchoosing the right configuration, this should be documented.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"Bluetooth: Document parallel scanner and initiator param selection"}},{"before":"168f1a0784bb1ebf52d0bea726ef4b4db72a7fa2","after":"b2fd94b340a0c10a3969f5ce94e60dc6fda2cd40","ref":"refs/heads/doc-concurrent-scan-init","pushedAt":"2024-09-03T12:41:06.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"bluetooth: Document parallel scanner and initiator param selection\n\nWhen scanning and connecting in parallel with\nCONFIG_BT_SCAN_AND_INITIATE_IN_PARALLEL enabled, a Bluetooth controller\nmay choose different scheduling approaches based upon the provided\nparameters.\n\nNordic's SoftDevice Controller performs better when both roles\nuse the same scan window and scan interval. To help customers\nchoosing the right configuration, this should be documented.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"bluetooth: Document parallel scanner and initiator param selection"}},{"before":null,"after":"168f1a0784bb1ebf52d0bea726ef4b4db72a7fa2","ref":"refs/heads/doc-concurrent-scan-init","pushedAt":"2024-09-03T12:40:09.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"bluetooth: Document parallel scanner and initiator param selection\n\nWhen scanning and connecting in parallel with\nCONFIG_BT_SCAN_AND_INITIATE_IN_PARALLEL enabled, a Bluetooth controller\nmay choose different scheduling approaches based upon the provided\nparameters.\n\nNordic's SoftDevice Controller performs better when both roles\nuse the same scan window and scan interval. To help customers\nchoosing the right configuration, this should be documented.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"bluetooth: Document parallel scanner and initiator param selection"}},{"before":"2a21a01f1bfd5a14df2a46d0f9af6b16e55031f8","after":"aee97f5eea500235994b0e4bf0d2c336863db30a","ref":"refs/heads/unittest-with-debug-info","pushedAt":"2024-09-02T06:42:30.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"unittest: Enable debug info by default\n\nBy enabling debugging information it becomes way much simpler\nto find the root cause of a failing unit test as we can simply\nrun it with a debugger.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"unittest: Enable debug info by default"}},{"before":null,"after":"2a21a01f1bfd5a14df2a46d0f9af6b16e55031f8","ref":"refs/heads/unittest-with-debug-info","pushedAt":"2024-08-29T18:32:56.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"unittest: Enable debug info by default\n\nBy enabling debugging information it becomes way much simpler\nto find the root cause of a failing unit test as we can simply\nrun it with a debugger.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"unittest: Enable debug info by default"}},{"before":"1bdb309b3efa709a7378dd522160baa2c83eb7a3","after":"d0a5b30fdb81f30c0264f1836042af8a382f11e6","ref":"refs/heads/posix-thread-names","pushedAt":"2024-08-22T14:32:06.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"tests: bluetooth: hci_uart_async: Set thread name after creation\n\nWhen running on native_posix, the thread needs to be created\nbefore the thread name can be set.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"tests: bluetooth: hci_uart_async: Set thread name after creation"}},{"before":"a46ea9be4fcbcef0adad126160d7223de0c9dff2","after":"1bdb309b3efa709a7378dd522160baa2c83eb7a3","ref":"refs/heads/posix-thread-names","pushedAt":"2024-08-09T12:39:26.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"tests: bluetooth: hci_uart_async: Set thread name after creation\n\nWhen running on native_posix, the thread needs to be created\nbefore the thread name can be set.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"tests: bluetooth: hci_uart_async: Set thread name after creation"}},{"before":"2bba1ea61150a0f67553d0704dd7bf53472e1483","after":"a46ea9be4fcbcef0adad126160d7223de0c9dff2","ref":"refs/heads/posix-thread-names","pushedAt":"2024-08-09T08:13:30.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"tests: bluetooth: hci_uart_async: Set thread name after creation\n\nWhen running on native_posix, the thread needs to be created\nbefore the thread name can be set.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"tests: bluetooth: hci_uart_async: Set thread name after creation"}},{"before":"607b4a973123a1ce67ddec4d7b3f7e0f75ddc6b7","after":"2bba1ea61150a0f67553d0704dd7bf53472e1483","ref":"refs/heads/posix-thread-names","pushedAt":"2024-08-08T11:45:02.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"arch posix: Implement arch_thread_name_set()\n\nThis will update the posix thread names to match\nthe zephyr thread names.\n\nThis will simplify debugging as the debugger will\nrecognize the thread names.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"arch posix: Implement arch_thread_name_set()"}},{"before":"b372bc2f67fba4341141e6e3df31d9032e2b16f0","after":"607b4a973123a1ce67ddec4d7b3f7e0f75ddc6b7","ref":"refs/heads/posix-thread-names","pushedAt":"2024-08-08T11:42:45.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"arch posix: Implement arch_thread_name_set()\n\nThis will update the posix thread names to match\nthe zephyr thread names.\n\nThis will simplify debugging as the debugger will\nrecognize the thread names.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"arch posix: Implement arch_thread_name_set()"}},{"before":"078aceea0a1cb8a5764bfe566d8555a13f21bdff","after":null,"ref":"refs/heads/add-missing-nrf-egu-instances","pushedAt":"2024-08-08T08:17:42.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"}},{"before":null,"after":"b372bc2f67fba4341141e6e3df31d9032e2b16f0","ref":"refs/heads/posix-thread-names","pushedAt":"2024-08-07T21:09:50.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"arch posix: Implement arch_thread_name_set()\n\nThis will update the posix thread names to match\nthe zephyr thread names.\n\nThis will simplify debugging as the debugger will\nrecognize the thread names.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"arch posix: Implement arch_thread_name_set()"}},{"before":null,"after":"5b0975863986637ea42a95a2e40ee37ad53a9d85","ref":"refs/heads/remove-duplicate-docs","pushedAt":"2024-08-01T09:50:20.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"ring_buffer: Remove duplicate documentation line\n\nNo need to have the same documentation line twice.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"ring_buffer: Remove duplicate documentation line"}},{"before":"83cfdc7c4a2e24a40be25bf800bb7a425fce7465","after":null,"ref":"refs/heads/bt-doc-bt-ready-cb-exec-context","pushedAt":"2024-07-31T08:09:32.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"}},{"before":"a32fa74512da482d67620667791ff80322126636","after":"e662b0a5a59f9a0e3bad4e0d7265b8652e26eb91","ref":"refs/heads/bt-samples-with-string-prints","pushedAt":"2024-07-30T12:37:44.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"Bluetooth: Samples: Use string printing functions for error codes\n\nWhen developing Bluetooth applications, you typically run into some errors.\nIf you are an experienced Bluetooth developer, you would typically know\nhow to translate the error codes into string representations.\nOthers might not.\n\nThis commit to adds string printing of error codes for all\nsamples to make them more user-friendly.\n\nSeveral formatting alternatives were considered. The chosen alternative\nbalances code readability and FLASH size (with and without string\nprinting).\n\nExample output from the peripheral_hids sample when the\npeer rejects pairing:\n\n```\nBluetooth initialized\nBluetooth authentication callbacks registered.\nAdvertising successfully started\nConnected 5E:67:02:D3:1C:DB (random)\nSecurity failed: 5E:67:02:D3:1C:DB (random) \\\nlevel 1 err 6 BT_SECURITY_ERR_PAIR_NOT_ALLOWED\nDisconnected from 5E:67:02:D3:1C:DB (random), \\\nreason 0x13 BT_HCI_ERR_REMOTE_USER_TERM_CONN\n```\n\nOther alternatives that were considered:\n\n- Use of parantheses:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 \\\nerr BT_SECURITY_ERR_PAIR_NOT_ALLOWED(6)\nDisconnected from 5E:67:02:D3:1C:DB (random), reason \\\nBT_HCI_ERR_REMOTE_USER_TERM_CONN(0x13)\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err (6)\nDisconnected from 5E:67:02:D3:1C:DB (random), reason (0x13)\n```\n\n- Spaces and parantheses:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 \\\nerr BT_SECURITY_ERR_PAIR_NOT_ALLOWED (6)\nDisconnected from 5E:67:02:D3:1C:DB (random), \\\nreason BT_HCI_ERR_REMOTE_USER_TERM_CONN (0x13)\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err (6)\nDisconnected from 5E:67:02:D3:1C:DB (random), reason (0x13)\n```\n\n- Parantheses around everything:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 \\\nerr (BT_SECURITY_ERR_PAIR_NOT_ALLOWED(6))\nDisconnected from 5E:67:02:D3:1C:DB (random), \\\nreason (BT_HCI_ERR_REMOTE_USER_TERM_CONN(0x13))\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err ((6))\nDisconnected from 5E:67:02:D3:1C:DB (random), reason ((0x13))\n```\n\n- Error code first, then string representation:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 \\\nerr 6 (BT_SECURITY_ERR_PAIR_NOT_ALLOWED)\nDisconnected from 5E:67:02:D3:1C:DB (random), reason \\\n0x13 (BT_HCI_ERR_REMOTE_USER_TERM_CONN)\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err 6 ()\nDisconnected from 5E:67:02:D3:1C:DB (random), reason 0x13 ()\n```\n\n- Apostrophes around error printing:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 \\\nerr \"BT_SECURITY_ERR_PAIR_NOT_ALLOWED (6)\"\nDisconnected from 5E:67:02:D3:1C:DB (random), reason \\\n\"BT_HCI_ERR_REMOTE_USER_TERM_CONN (0x13)\"\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err \" (6)\"\nDisconnected from 5E:67:02:D3:1C:DB (random), reason \" (0x13)\"\n```\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"Bluetooth: Samples: Use string printing functions for error codes"}},{"before":"ace57afea5945fafc8f5f1b998498d2d2347e126","after":"a32fa74512da482d67620667791ff80322126636","ref":"refs/heads/bt-samples-with-string-prints","pushedAt":"2024-07-30T12:32:57.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"Bluetooth: Samples: Use string printing functions for error codes\n\nWhen developing Bluetooth applications, you typically run into some errors.\nIf you are an experienced Bluetooth developer, you would typically know\nhow to translate the error codes into string representations.\nOthers might not.\n\nThis commit to adds string printing of error codes for all\nsamples to make them more user-friendly.\n\nSeveral formatting alternatives were considered. The chosen alternative\nbalances code readability and FLASH size (with and without string\nprinting).\n\nExample output from the peripheral_hids sample when the\npeer rejects pairing:\n\n```\nBluetooth initialized\nBluetooth authentication callbacks registered.\nAdvertising successfully started\nConnected 5E:67:02:D3:1C:DB (random)\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err 6 BT_SECURITY_ERR_PAIR_NOT_ALLOWED\nDisconnected from 5E:67:02:D3:1C:DB (random), reason 0x13 BT_HCI_ERR_REMOTE_USER_TERM_CONN\n```\n\nOther alternatives that were considered:\n\n- Use of parantheses:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err BT_SECURITY_ERR_PAIR_NOT_ALLOWED(6)\nDisconnected from 5E:67:02:D3:1C:DB (random), reason BT_HCI_ERR_REMOTE_USER_TERM_CONN(0x13)\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err (6)\nDisconnected from 5E:67:02:D3:1C:DB (random), reason (0x13)\n```\n\n- Spaces and parantheses:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err BT_SECURITY_ERR_PAIR_NOT_ALLOWED (6)\nDisconnected from 5E:67:02:D3:1C:DB (random), reason BT_HCI_ERR_REMOTE_USER_TERM_CONN (0x13)\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err (6)\nDisconnected from 5E:67:02:D3:1C:DB (random), reason (0x13)\n```\n\n- Parantheses around everything:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err (BT_SECURITY_ERR_PAIR_NOT_ALLOWED(6))\nDisconnected from 5E:67:02:D3:1C:DB (random), reason (BT_HCI_ERR_REMOTE_USER_TERM_CONN(0x13))\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err ((6))\nDisconnected from 5E:67:02:D3:1C:DB (random), reason ((0x13))\n```\n\n- Error code first, then string representation:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err 6 (BT_SECURITY_ERR_PAIR_NOT_ALLOWED)\nDisconnected from 5E:67:02:D3:1C:DB (random), reason 0x13 (BT_HCI_ERR_REMOTE_USER_TERM_CONN)\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err 6 ()\nDisconnected from 5E:67:02:D3:1C:DB (random), reason 0x13 ()\n```\n\n- Apostrophes around error printing:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err \"BT_SECURITY_ERR_PAIR_NOT_ALLOWED (6)\"\nDisconnected from 5E:67:02:D3:1C:DB (random), reason \"BT_HCI_ERR_REMOTE_USER_TERM_CONN (0x13)\"\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err \" (6)\"\nDisconnected from 5E:67:02:D3:1C:DB (random), reason \" (0x13)\"\n```\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"Bluetooth: Samples: Use string printing functions for error codes"}},{"before":"5afaa53681f5b02238aa148b22c9a7889e391550","after":"a64774fa26496ef4e27200198119c44f34f95f9e","ref":"refs/heads/update-nrf-hw-models","pushedAt":"2024-07-30T10:51:30.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"manifest: Update nRF hw models to latest\n\nUpdate the HW models module to:\n3ede17158a9fe85c160e0384c0ad0306e24ee47e\n\nIncluding the following:\n* 3ede171 GRTC: Expose nhw_GRTC_counter_to_time()\n* 2726f8b RTC: Define nhw_rtc_start_time_get()\n* cc6fb0f hal: hack: Add nrf_hack function for triggering a task\n* 03ca9b5 MWU: Add registers stub\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"manifest: Update nRF hw models to latest"}},{"before":"994f1f21dd33da02059e3c0759b84c03dd628e50","after":"5afaa53681f5b02238aa148b22c9a7889e391550","ref":"refs/heads/update-nrf-hw-models","pushedAt":"2024-07-29T13:09:23.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"manifest: Update nRF hw models to latest\n\nUpdate the HW models module to:\n3ede17158a9fe85c160e0384c0ad0306e24ee47e\n\nIncluding the following:\n* 3ede171 GRTC: Expose nhw_GRTC_counter_to_time()\n* 2726f8b RTC: Define nhw_rtc_start_time_get()\n* cc6fb0f hal: hack: Add nrf_hack function for triggering a task\n* 03ca9b5 MWU: Add registers stub\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"manifest: Update nRF hw models to latest"}},{"before":"a2bdb8647452c7a13840b7399320b3ec1fe659c9","after":"994f1f21dd33da02059e3c0759b84c03dd628e50","ref":"refs/heads/update-nrf-hw-models","pushedAt":"2024-07-29T13:01:09.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"manifest: Update nRF hw models to latest\n\nIncludes some new APIs that can be used for stack\nverification purposes.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"manifest: Update nRF hw models to latest"}},{"before":null,"after":"a2bdb8647452c7a13840b7399320b3ec1fe659c9","ref":"refs/heads/update-nrf-hw-models","pushedAt":"2024-07-29T12:59:33.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"manifest: Update nRF hw models to latest\n\nIncludes some new APIs that can be used for stack\nverification purposes.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"manifest: Update nRF hw models to latest"}},{"before":"5c85b2a693df9a27739e7669a555266fa5eac3f1","after":"c36260e7ec2ea771be9dba7e43720cb63f2e41cb","ref":"refs/heads/hci-err-as-string","pushedAt":"2024-07-29T08:15:42.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"Bluetooth: Conditionally print out HCI error codes as strings\n\nWhen developing Bluetooth applications, you typically run into\nsome errors. If you are an experienced Bluetooth developer,\nyou would typically have an HCI error lookup table in your memory.\nOthers might not.\n\nThis commit utilizes defines CONFIG_BT_DEBUG_HCI_ERR_TO_STR\nand utilizes bt_hci_err_to_str() to print out HCI error strings\nwhen enabled to improve the user experience.\n\nSeveral alternatives where considered. This approach was chosen\nas it had the best balance between readability, code size, and\nimplementation complexity.\n\nThe alternatives are listed below as a reference.\n\n1. Macro defined format specifier:\n\n```c\n #define HCI_ERR_FMT \"%s\"\n #define BT_HCI_ERR_TO_STR(err) (err)\n #define HCI_ERR_FMT \"%d\"\n #define BT_HCI_ERR_TO_STR(err) bt_hci_err_to_str((err))\n\nLOG_INF(\"The event contained \" HCI_ERR_FMT \" as status\",\n\tBT_HCI_ERR_TO_STR(err));\n```\nAdvantage: Space efficient: Code size does not increase\nDisadvantage: Code becomes hard to read\n\n2. Format specifier to always include both integer and string:\n\n```c\nstatic inline const char bt_hci_err_to_str(err)\n{\n\treturn \"\";\n}\n\nLOG_INF(\"The event contained %s(0x%02x) as status\",\n\tbt_hci_err_to_str(err), err);\n```\n\nAdvantage: Simple to use, implement, and read,\nDisadvantage: Increases code size when CONFIG_BT_DEBUG_HCI_ERR_TO_STR\nis disabled. The compiler seems unable to optimize away the unused\nformat specifier. Note: The size increase is only present when\nlogging is enabled.\n\n3. Always print as string, allocate a stack variable when printing:\n\n```c\nconst char *bt_hci_err_to_str(char *dst, size_t dst_size, uint8_t err)\n{\n snprintf(dst, dst_size, 0x%02x, err);\n return dst;\n}\n\nLOG_INF(\"The event contained %s as status\", BT_HCI_ERR_TO_STR(err));\n```\n\nAdvantage: Very easy to read.\nDisadvantage: Printing error codes becomes slow as it involves calling\nsnprint.\n\n4. Implement a custom printf specifier, for example E.\n\n This requires a global CONFIG_ERR_AS_STR as I assume we cannot have\n one specifier for each type of error code.\n Also, I assume we cannot start adding specifiers for each subsystem.\n\n```c\n #define BT_HCI_ERR_TO_STR(err) (err)\n #define BT_HCI_ERR_TO_STR(err) bt_hci_err_to_str((err))\n\nLOG_INF(\"The event contained %E as status\", BT_HCI_ERR_TO_STR(err));\n```\n\nAdvantage: Both efficient code and readable code.\nDisadvantage: This requires a global CONFIG_ERR_AS_STR as I assume\nwe cannot have one specifier for each type of error code.\nAlso, I assume we cannot start adding specifiers for each subsystem.\nThat is, this approach is hard to implement correctly in a scalable\nway.\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"Bluetooth: Conditionally print out HCI error codes as strings"}},{"before":"9abc7f25ef06db7c64a2c7c11c6e2d2db73ad070","after":"ace57afea5945fafc8f5f1b998498d2d2347e126","ref":"refs/heads/bt-samples-with-string-prints","pushedAt":"2024-07-29T07:58:00.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"Bluetooth: Samples: Use string printing functions for error codes\n\nWhen developing Bluetooth applications, you typically run into some errors.\nIf you are an experienced Bluetooth developer, you would typically know\nhow to translate the error codes into string representations.\nOthers might not.\n\nThis commit to adds string printing of error codes for all\nsamples to make them more user-friendly.\n\nSeveral formatting alternatives were considered. The chosen alternative\nbalances code readability and FLASH size (with and without string\nprinting).\n\nExample output from the peripheral_hids sample when the\npeer rejects pairing:\n\n```\nBluetooth initialized\nBluetooth authentication callbacks registered.\nAdvertising successfully started\nConnected 5E:67:02:D3:1C:DB (random)\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err 6 BT_SECURITY_ERR_PAIR_NOT_ALLOWED\nDisconnected from 5E:67:02:D3:1C:DB (random), reason 0x13 BT_HCI_ERR_REMOTE_USER_TERM_CONN\n```\n\nOther alternatives that were considered:\n\n- Use of parantheses:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err BT_SECURITY_ERR_PAIR_NOT_ALLOWED(6)\nDisconnected from 5E:67:02:D3:1C:DB (random), reason BT_HCI_ERR_REMOTE_USER_TERM_CONN(0x13)\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err (6)\nDisconnected from 5E:67:02:D3:1C:DB (random), reason (0x13)\n```\n\n- Spaces and parantheses:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err BT_SECURITY_ERR_PAIR_NOT_ALLOWED (6)\nDisconnected from 5E:67:02:D3:1C:DB (random), reason BT_HCI_ERR_REMOTE_USER_TERM_CONN (0x13)\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err (6)\nDisconnected from 5E:67:02:D3:1C:DB (random), reason (0x13)\n```\n\n- Parantheses around everything:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err (BT_SECURITY_ERR_PAIR_NOT_ALLOWED(6))\nDisconnected from 5E:67:02:D3:1C:DB (random), reason (BT_HCI_ERR_REMOTE_USER_TERM_CONN(0x13))\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err ((6))\nDisconnected from 5E:67:02:D3:1C:DB (random), reason ((0x13))\n```\n\n- Error code first, then string representation:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err 6 (BT_SECURITY_ERR_PAIR_NOT_ALLOWED)\nDisconnected from 5E:67:02:D3:1C:DB (random), reason 0x13 (BT_HCI_ERR_REMOTE_USER_TERM_CONN)\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err 6 ()\nDisconnected from 5E:67:02:D3:1C:DB (random), reason 0x13 ()\n```\n\n- Apostrophes around error printing:\n```\n// strings enabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err \"BT_SECURITY_ERR_PAIR_NOT_ALLOWED (6)\"\nDisconnected from 5E:67:02:D3:1C:DB (random), reason \"BT_HCI_ERR_REMOTE_USER_TERM_CONN (0x13)\"\n// strings disabled\nSecurity failed: 5E:67:02:D3:1C:DB (random) level 1 err \" (6)\"\nDisconnected from 5E:67:02:D3:1C:DB (random), reason \" (0x13)\"\n```\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"Bluetooth: Samples: Use string printing functions for error codes"}},{"before":"c09c6ae62684edb4962ec552841765150b1bed53","after":"9abc7f25ef06db7c64a2c7c11c6e2d2db73ad070","ref":"refs/heads/bt-samples-with-string-prints","pushedAt":"2024-07-29T06:49:37.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rugeGerritsen","name":"Rubin Gerritsen","path":"/rugeGerritsen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23234783?s=80&v=4"},"commit":{"message":"Bluetooth: Samples: Use string printing functions for error codes\n\nWhen developing Bluetooth applications, you typically run into some errors.\nIf you are an experienced Bluetooth developer, you would typically know\nhow to translate the error codes into string representations.\nOthers might not.\n\nThis commit proposes to add string printing of error codes for all\nsamples to make them more user-friendly.\n\nExample output from the peripheral_hids sample when the peer rejects\npairing:\n\n```\nBluetooth initialized\nBluetooth authentication callbacks registered.\nAdvertising successfully started\nConnected 5E:67:02:D3:1C:DB (random)\nSecurity failed: 5E:67:02:D3:1C:DB (random) \\\nlevel 1 err BT_SECURITY_ERR_PAIR_NOT_ALLOWED(6)\nDisconnected from 5E:67:02:D3:1C:DB (random), \\\nreason BT_HCI_ERR_REMOTE_USER_TERM_CONN(0x13)\n```\n\nSigned-off-by: Rubin Gerritsen ","shortMessageHtmlLink":"Bluetooth: Samples: Use string printing functions for error codes"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xN1QwNjoxOToyMS4wMDAwMDBazwAAAAS4Kpp1","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xN1QwNjoxOToyMS4wMDAwMDBazwAAAAS4Kpp1","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0yOVQwNjo0OTozNy4wMDAwMDBazwAAAASLkOFP"}},"title":"Activity · rugeGerritsen/zephyr"}