Skip to content

Commit

Permalink
Update AO-123 settings for LoTW
Browse files Browse the repository at this point in the history
  • Loading branch information
magicbug committed Dec 7, 2024
1 parent 83dd417 commit 21df525
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion application/config/migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
|
*/

$config['migration_version'] = 190;
$config['migration_version'] = 191;

/*
|--------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions application/controllers/Lotw.php
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,7 @@ function lotw_satellite_map($satname) {
"TEVEL8" => "TEVEL-8",
"INSPR7" => "INSPIRE-SAT 7",
"SONATE" => "SONATE-2",
'AO-123' => "ASRTU-1",
);

return array_search(strtoupper($satname),$arr,true);
Expand Down
18 changes: 18 additions & 0 deletions application/migrations/191_rename_reupload_ao123.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php
defined('BASEPATH') or exit('No direct script access allowed');

class Migration_rename_reupload_ao123 extends CI_Migration
{
public function up()
{
$this->db->set('COL_SAT_NAME', 'AO-123');
$this->db->set('COL_LOTW_QSL_SENT', 'N');
$this->db->where('COL_SAT_NAME', 'ASRTU-1');
$this->db->update($this->config->item('table_name'));
}

public function down()
{
// Not Possible
}
}
12 changes: 12 additions & 0 deletions assets/json/satellite_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,18 @@
]
}
},
"AO-123":{
"Modes":{
"U/V":[
{
"Uplink_Mode":"FM",
"Uplink_Freq":"145850000",
"Downlink_Mode":"FM",
"Downlink_Freq":"435400000"
}
]
}
},
"CAS-4A":{
"Modes":{
"U/V":[
Expand Down

0 comments on commit 21df525

Please sign in to comment.