Firmware
navi.tests.firmware.bqr_test.BqrTest
Bases: DualDeviceTestBase
Test Class for Bluetooth Quality Report (BQR) tests.
This class provides tests that verify the BQR feature of the device.
Attributes:
| Name | Type | Description |
|---|---|---|
_bqr_version |
tuple[int, int]
|
The BQR version supported by the device. |
_manufacturer_name |
str
|
The manufacturer name of the Bluetooth Firmware. |
Source code in navi/tests/firmware/bqr_test.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 | |
test_device_bqr_delete_command_function()
async
Tests the BQR function of Delete Command.
Test steps
- Send BQR command with quality monitoring mode.
- Received Command Complete event and verify the status.
- Send BQR command with delete quality monitoring mode.
- Received Command Complete event and verify no more quality monitoring mode related vendor event.
Source code in navi/tests/firmware/bqr_test.py
225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 | |
test_receive(bqr_eventmask, expected_report_id, bqr_report_action, bqr_minimum_report_interval, event_received_times, connection_required, min_bqr_version=bqr.Version.V1)
async
Tests the BQR function.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
bqr_eventmask
|
int
|
The bitmask specifying which standard quality events should trigger a report. |
required |
expected_report_id
|
QualityReportId
|
The specific BQR QualityReportId to look for. |
required |
bqr_report_action
|
BqrReportAction
|
The BQR reporting action. |
required |
bqr_minimum_report_interval
|
int
|
The minimum time interval between consecutive quality reports. |
required |
event_received_times
|
int
|
The number of expected vendor events received. |
required |
connection_required
|
bool
|
The flag to verify the connection before sending the command. |
required |
min_bqr_version
|
Version
|
The minimum BQR version supported by the device. |
V1
|
Source code in navi/tests/firmware/bqr_test.py
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | |
navi.tests.firmware.channel_sounding_test.ChannelSoundingTest
Bases: DualDeviceTestBase
Source code in navi/tests/firmware/channel_sounding_test.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
test_mode_2(direction)
async
Test Channel Sounding from DUT.
Source code in navi/tests/firmware/channel_sounding_test.py
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
navi.tests.firmware.classic_test.ClassicTest
Bases: DualDeviceTestBase
Tests for Classic connection.
Source code in navi/tests/firmware/classic_test.py
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 | |
test_authentication(direction)
async
Tests authentication.
Source code in navi/tests/firmware/classic_test.py
224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 | |
test_connect(direction)
async
Tests connecting to a remote device.
Source code in navi/tests/firmware/classic_test.py
140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | |
test_encryption(direction)
async
Tests encryption.
Source code in navi/tests/firmware/classic_test.py
249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 | |
test_esco_connection(direction, sco_parameters)
async
Tests legacy pairing.
Source code in navi/tests/firmware/classic_test.py
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 | |
test_get_remote_features(direction)
async
Tests get remote features.
Source code in navi/tests/firmware/classic_test.py
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 | |
test_inquiry(direction)
async
Tests inquiry.
Source code in navi/tests/firmware/classic_test.py
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | |
test_legacy_pairing(direction)
async
Tests legacy pairing.
Source code in navi/tests/firmware/classic_test.py
586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 | |
test_remote_name_request(direction)
async
Tests remote name request.
Source code in navi/tests/firmware/classic_test.py
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 | |
test_send_acl_data()
async
Tests switch role.
Source code in navi/tests/firmware/classic_test.py
330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 | |
test_sniff_mode(direction, sniff_mode_param)
async
Tests sniff mode.
Source code in navi/tests/firmware/classic_test.py
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 | |
test_ssp(variant, pairing_direction, ref_io_capability)
async
Tests Simple Secure Pairing.
Test steps
- Setup configurations.
- Make ACL connections.
- Start pairing.
- Wait for pairing requests and verify pins.
- Make actions corresponding to variants.
- Verify final states.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
variant
|
TestVariant
|
Action to perform in the pairing procedure. |
required |
pairing_direction
|
Direction
|
Direction of pairing. DUT->REF is outgoing, and vice versa. |
required |
ref_io_capability
|
_IoCapability
|
IO Capability on the REF device. |
required |
Source code in navi/tests/firmware/classic_test.py
628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 | |
test_switch_role(direction)
async
Tests switch role.
Source code in navi/tests/firmware/classic_test.py
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 | |
navi.tests.firmware.le_broadcast_test.LeBroadcastTest
Bases: DualDeviceTestBase
Source code in navi/tests/firmware/le_broadcast_test.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 | |
test_big_sync_lost()
async
Test Big Sync lost due to source termination.
Test steps
- Create a LE Big on REF.
- Create a LE Big Sync on DUT.
- Terminate the LE Big on REF.
- Verify that the LE Big Sync is terminated on DUT.
Source code in navi/tests/firmware/le_broadcast_test.py
283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 | |
test_big_sync_terminate()
async
Test terminating Big Sync on DUT.
Test steps
- Create a LE Big on REF.
- Create a LE Big Sync on DUT.
- Terminate the LE Big on DUT.
Source code in navi/tests/firmware/le_broadcast_test.py
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 | |
test_create_big(broadcast_code)
async
Test creating Broadcast Isochronous Group on DUT.
Test steps
- Create a LE Big on DUT.
- Create a LE Big Sync on REF.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
broadcast_code
|
bytes | None
|
The broadcast code to use. |
required |
Source code in navi/tests/firmware/le_broadcast_test.py
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 | |
test_create_big_sync(broadcast_code)
async
Test creating Big Sync on DUT.
Test steps
- Create a LE Big on REF.
- Create a LE Big Sync on DUT.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
broadcast_code
|
bytes | None
|
The broadcast code to use. |
required |
Source code in navi/tests/firmware/le_broadcast_test.py
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 | |
test_terminate_big()
async
Test terminating Big on DUT.
Test steps
- Create a LE Big on REF.
- Create a LE Big Sync on DUT.
- Terminate the LE Big on DUT.
Source code in navi/tests/firmware/le_broadcast_test.py
252 253 254 255 256 257 258 259 260 261 262 263 | |
test_transfer(is_outgoing)
async
Test transferring Periodic Advertising Sync.
Test steps
- Create a LE Big.
- Create a LE Big Sync.
- Transfer the LE Big.
- Verify that the LE Big Sync is transferred.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
is_outgoing
|
bool
|
True if the transfer is outgoing, False if it is incoming. |
required |
Source code in navi/tests/firmware/le_broadcast_test.py
302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 | |
navi.tests.firmware.le_connection_test.LeConnectionTest
Bases: DualDeviceTestBase
Tests for LE connection.
Source code in navi/tests/firmware/le_connection_test.py
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 | |
test_connect(direction)
async
Tests connecting to a remote device.
Source code in navi/tests/firmware/le_connection_test.py
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 | |
test_create_cis(direction, cig_parameters)
async
Tests creating CIS.
Source code in navi/tests/firmware/le_connection_test.py
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 | |
test_encrypt_le_connection()
async
Tests stability by encrypting LE connection during transmission.
Test steps
- Create a Bluetooth LE connection.
- Inject pairing keys to the devices.
- Send l2cap data packet to the devices.
- Encrypt the LE connection.
- Verify that the connection is not dropped.
Source code in navi/tests/firmware/le_connection_test.py
376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 | |
test_get_remote_features(direction)
async
Tests getting remote features.
Test steps
- Create a Bluetooth LE connection.
- Get remote features from the devices.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
direction
|
Direction
|
The direction of the connection. |
required |
Source code in navi/tests/firmware/le_connection_test.py
235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 | |
test_set_phy(direction)
async
Tests setting phy.
Test steps
- Create a Bluetooth LE connection.
- Set phy to tx: LE_2M, rx: LE_2M.
- Set phy to tx: LE_1M, rx: LE_1M.
- Set phy to tx: LE_CODED, rx: LE_CODED.
- Verify that the connection is not dropped.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
direction
|
Direction
|
The direction of the connection. |
required |
Source code in navi/tests/firmware/le_connection_test.py
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 | |
test_update_le_connection()
async
Tests updating LE connection parameters during transmission.
Test steps
- Create a Bluetooth LE connection.
- Send l2cap data packet to the devices.
- Update the LE connection parameters.
- Verify that the connection is not dropped.
Source code in navi/tests/firmware/le_connection_test.py
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 | |
navi.tests.firmware.test_base.DualDeviceTestBase
Bases: _FirmwareTestBase
Base class for dual device firmware tests.
Source code in navi/tests/firmware/test_base.py
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 | |
navi.tests.firmware.test_base.SingleDeviceTestBase
Bases: _FirmwareTestBase
Base class for single device firmware tests.
Source code in navi/tests/firmware/test_base.py
141 142 143 144 145 146 147 148 149 150 151 152 | |
navi.tests.firmware.test_base._FirmwareTestBase
Bases: BaseTestBase
Base class for firmware tests.
Source code in navi/tests/firmware/test_base.py
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | |
navi.tests.firmware.throughput_test.ThroughputTest
Bases: DualDeviceTestBase
Tests throughput of different transport.
Note that the performance could be affected a lot by the HCI throughput and latency on Bumble. For example, running this test on a Cloudtop with Pontis might lead to lower bandwidth in comparison to running on a local machine.
Source code in navi/tests/firmware/throughput_test.py
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | |
test_rfcomm()
async
Tests RFCOMM throughput.
Source code in navi/tests/firmware/throughput_test.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | |