Added support for error correction in P25 HDU data.

Both Golay(24,12,8) and Reed-Solomon(63,47,17) are now implemented.
This commit is contained in:
EdFuentetaja
2014-03-11 22:41:59 +08:00
parent d7b36f32c0
commit 3f4ff87078
8 changed files with 1413 additions and 207 deletions

View File

@@ -1,5 +1,5 @@
#ifndef __CHECK_NID_H__
#define __CHECK_NID_H__
#ifndef __P25P1_CHECK_NID_H__
#define __P25P1_CHECK_NID_H__
#ifdef __cplusplus
extern "C" {
@@ -21,4 +21,4 @@ int check_NID(char* bch_code, int* new_nac, char* new_duid, unsigned char parity
}
#endif
#endif // __CHECK_NID_H__
#endif // __P25P1_CHECK_NID_H__