Christopher Collins created MYNEWT-772: ------------------------------------------
Summary: BLE Host - Initial set-event-mask specifies reserved bits Key: MYNEWT-772 URL: https://issues.apache.org/jira/browse/MYNEWT-772 Project: Mynewt Issue Type: Bug Security Level: Public (Viewable by anyone) Components: Nimble Reporter: Christopher Collins Assignee: Christopher Collins Fix For: v1_1_0_rel The host intends to enable the following events at start up: {noformat} /** * Enable the following events: * 0x0000000000000001 Inquiry Complete Event * 0x0000000000000002 Inquiry Result Event * 0x0000000000000004 Connection Complete Event * 0x0000000000000008 Connection Request Event * 0x0000000000000010 Disconnection Complete Event * 0x0000000000000020 Authentication Complete Event * 0x0000000000000040 Remote Name Request Complete Event * 0x0000000000000080 Encryption Change Event * 0x0000000000000100 Change Connection Link Key Complete Event * 0x0000000000000200 Master Link Key Complete Event * 0x0000000000000400 Read Remote Supported Features Complete Event * 0x0000000000000800 Read Remote Version Information Complete Event * 0x0000000000001000 QoS Setup Complete Event * 0x0000000000002000 Reserved * 0x0000000000004000 Reserved * 0x0000000000008000 Hardware Error Event * 0x0000000000010000 Flush Occurred Event * 0x0000000000020000 Role Change Event * 0x0000000000040000 Reserved * 0x0000000000080000 Mode Change Event * 0x0000000000100000 Return Link Keys Event * 0x0000000000200000 PIN Code Request Event * 0x0000000000400000 Link Key Request Event * 0x0000000000800000 Link Key Notification Event * 0x0000000001000000 Loopback Command Event * 0x0000000002000000 Data Buffer Overflow Event * 0x0000000004000000 Max Slots Change Event * 0x0000000008000000 Read Clock Offset Complete Event * 0x0000000010000000 Connection Packet Type Changed Event * 0x0000000020000000 QoS Violation Event * 0x0000000040000000 Page Scan Mode Change Event [deprecated] * 0x0000000080000000 Page Scan Repetition Mode Change Event * 0x0000000100000000 Flow Specification Complete Event * 0x0000000200000000 Inquiry Result with RSSI Event * 0x0000000400000000 Read Remote Extended Features Complete Event * 0x0000080000000000 Synchronous Connection Complete Event * 0x0000100000000000 Synchronous Connection Changed Event * 0x0000800000000000 Encryption Key Refresh Complete Event * 0x2000000000000000 LE Meta-Event */ {noformat} It does this by setting the following bit mask: {{0x20009fffffffffff}}. This mask in incorrect; it should be: {{0x20009807ffffffff}}. -- This message was sent by Atlassian JIRA (v6.3.15#6346)