# API compatibility report for the libairspy-dev library between 1.0.7-1 and 1.0.9-1 versions on x86_64

Binary
Compatibility Source
Compatibility

## Test Info

Library Name | libairspy-dev
Version #1 | 1.0.7-1 (gcc 5.3.1)
Version #2 | 1.0.9-1 (gcc 6.2.0)
CPU Type | x86_64
Subject | Binary Compatibility

## Test Results

Total Header Files | 5
Total Shared Libraries | 1
Total Symbols / Types | 50 / 54
Compatibility | 98%

## Problem Summary

| Severity | Count
--- | --- | ---
Added Symbols | - | 1
Removed Symbols | High | 0
Problems with Data Types | High | 0
Medium | 0
Low | 0
Problems with Symbols | High | 0
Medium | 2
Low | 0
Problems with Constants | Low | 1
Other Changes in Constants | - | 1

## Added Symbols 1

airspy.h, libairspy.so.1.0.9
airspy_spiflash_erase_sector ( struct airspy_device* device, uint16_t const sector_num )
to the top

## Problems with Symbols, Medium Severity 2

filters.h, libairspy.so.1.0.7
[+] HB_KERNEL_FLOAT [data] 1

| Change | Effect
--- | --- | ---
1 | Type of this global data has been changed from float[] const (8 bytes) to float[47] const (188 bytes). | Applications will obtain a different value and execution may change.

[+] HB_KERNEL_INT16 [data] 1

| Change | Effect
--- | --- | ---
1 | Type of this global data has been changed from short[] const (8 bytes) to short[47] const (94 bytes). | Applications will obtain a different value and execution may change.

to the top

## Problems with Constants, Low Severity 1

airspy_commands.h
[+] AIRSPY_CMD_MAX

| Change | Effect
--- | --- | ---
1 | The value of constant AIRSPY_CMD_MAX has been changed from (26) to (27). | Applications will pass an old value of this constant as the parameter to the new-version library functions, that expect a new one. This may result in crash of incorrect behavior of applications.

to the top

## Other Changes in Constants 1

airspy.h
[+] MAX_CONFIG_PAGE_SIZE

| Change | Effect
--- | --- | ---
1 | The constant MAX_CONFIG_PAGE_SIZE with value (0x10000) has been added. | No effect.

to the top

## Header Files 5

airspy.h
airspy_commands.h
filters.h
iqconverter_float.h
iqconverter_int16.h
to the top

## Shared Libraries 1

libairspy.so.1.0.7
to the top

## Test Info

Library Name | libairspy-dev
Version #1 | 1.0.7-1 (gcc 5.3.1)
Version #2 | 1.0.9-1 (gcc 6.2.0)
CPU Type | x86_64
Subject | Source Compatibility

## Test Results

Total Header Files | 5
Total Shared Libraries | 1
Total Symbols / Types | 50 / 54
Compatibility | 100%

## Problem Summary

| Severity | Count
--- | --- | ---
Added Symbols | - | 3
Removed Symbols | High | 0
Problems with Data Types | High | 0
Medium | 0
Low | 0
Problems with Symbols | High | 0
Medium | 0
Low | 2
Problems with Constants | Low | 3
Other Changes in Constants | - | 1

## Added Symbols 3

airspy.h
airspy_config_read ( struct airspy_device* device, uint8_t const page_index, uint16_t const length, unsigned char* data )
airspy_config_write ( struct airspy_device* device, uint8_t const page_index, uint16_t const length, unsigned char* data )
airspy_spiflash_erase_sector ( struct airspy_device* device, uint16_t const sector_num )
to the top

## Problems with Symbols, Low Severity 2

filters.h
[+] HB_KERNEL_FLOAT [data] 1

| Change | Effect
--- | --- | ---
1 | Type of this global data has been changed from float[] const to float[47] const. | Recompilation of a client program may be broken.

[+] HB_KERNEL_INT16 [data] 1

| Change | Effect
--- | --- | ---
1 | Type of this global data has been changed from short[] const to short[47] const. | Recompilation of a client program may be broken.

to the top

## Problems with Constants, Low Severity 3

airspy.h
[+] AIRSPY_VER_REVISION

| Change | Effect
--- | --- | ---
1 | The value of constant AIRSPY_VER_REVISION has been changed from 7 to 9. | Recompilation of a client program may be broken.

[+] AIRSPY_VERSION

| Change | Effect
--- | --- | ---
1 | The value of constant AIRSPY_VERSION has been changed from "1.0.7" to "1.0.9". | Recompilation of a client program may be broken.

airspy_commands.h
[+] AIRSPY_CMD_MAX

| Change | Effect
--- | --- | ---
1 | The value of constant AIRSPY_CMD_MAX has been changed from (26) to (27). | Recompilation of a client program may be broken.

to the top

## Other Changes in Constants 1

airspy.h
[+] MAX_CONFIG_PAGE_SIZE

| Change | Effect
--- | --- | ---
1 | The constant MAX_CONFIG_PAGE_SIZE with value (0x10000) has been added. | No effect.

to the top

## Header Files 5

airspy.h
airspy_commands.h
filters.h
iqconverter_float.h
iqconverter_int16.h
to the top

## Shared Libraries 1

libairspy.so.1.0.7
to the top